diff options
Diffstat (limited to 'p11-kit/hashmap.c')
-rw-r--r-- | p11-kit/hashmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/hashmap.c b/p11-kit/hashmap.c index 6e91c32..ceb8a17 100644 --- a/p11-kit/hashmap.c +++ b/p11-kit/hashmap.c @@ -377,7 +377,7 @@ _p11_hash_intptr_equal (const void *int_one, unsigned int _p11_hash_direct_hash (const void *ptr) { - return (unsigned int)(unsigned long)ptr; + return (unsigned int)(size_t)ptr; } int |