summaryrefslogtreecommitdiff
path: root/locks
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-06-07 02:39:00 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-06-07 02:39:00 +0000
commit27f483d4a2ed650764d113b298823cec1468465d (patch)
tree5682a212efb59f0da803ca7bb68c23043fb913a7 /locks
parentf8d68ce885da01b2e222b2fcd4a31cc731c59e53 (diff)
downloadlibapr-27f483d4a2ed650764d113b298823cec1468465d.tar.gz
apr_os_thread_t isn't necessarily a ptr; 0 is compatible with
ptr or integer, but NULL isn't git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61728 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'locks')
-rw-r--r--locks/unix/locks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locks/unix/locks.c b/locks/unix/locks.c
index d86506c33..037ee43cb 100644
--- a/locks/unix/locks.c
+++ b/locks/unix/locks.c
@@ -244,7 +244,7 @@ apr_status_t apr_lock_release(apr_lock_t *lock)
}
#if APR_HAS_THREADS
- lock->owner = NULL;
+ lock->owner = 0;
lock->owner_ref = 0;
#endif