diff options
author | rpj <rpj> | 2011-03-06 10:46:44 +0000 |
---|---|---|
committer | rpj <rpj> | 2011-03-06 10:46:44 +0000 |
commit | 1183e5acfa10c7bda1dc39034d6e2fa6dec6016f (patch) | |
tree | fd5220ed96e0fef2390b72ad170b62f0516242ce /tests/rwlock6.c | |
parent | 85dfeaf6133e1b74eefed26cf76c3f8631c7dd1d (diff) |
64 bit compatibility (mingw64)
Diffstat (limited to 'tests/rwlock6.c')
-rw-r--r-- | tests/rwlock6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rwlock6.c b/tests/rwlock6.c index 3f305e8..8861823 100644 --- a/tests/rwlock6.c +++ b/tests/rwlock6.c @@ -57,7 +57,7 @@ void * wrfunc(void * arg) ba = bankAccount; assert(pthread_rwlock_unlock(&rwlock1) == 0); - return ((void *) ba); + return ((void *)(size_t)ba); } void * rdfunc(void * arg) @@ -68,7 +68,7 @@ void * rdfunc(void * arg) ba = bankAccount; assert(pthread_rwlock_unlock(&rwlock1) == 0); - return ((void *) ba); + return ((void *)(size_t)ba); } int |