diff options
author | Stef Walter <stefw@collabora.co.uk> | 2012-01-02 11:54:50 +0100 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2012-01-02 11:54:50 +0100 |
commit | 049e556d043aa6ecfbf32a70dae6e7e5e8eb69d3 (patch) | |
tree | c7d5e585f444b686e96858af72b8ff42960aecf5 | |
parent | 83dcc15d1d97218004137769ff68e2e8119f1d80 (diff) |
Fix build warning on mingw64
-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 |