From a82d3f85c689056681ba608624e8326c09415293 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 18 Jun 2014 14:00:58 +1000 Subject: Correct casts for IS_EQ and other macro tweaks - ensure GET_INT_FROM_POINTER us only used to get values - rename STACK_POP_ELSE -> STACK_POP_DEFAULT --- source/blender/blenlib/BLI_ghash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib/BLI_ghash.h') diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h index 947386dc934..a59023d4f9b 100644 --- a/source/blender/blenlib/BLI_ghash.h +++ b/source/blender/blenlib/BLI_ghash.h @@ -130,7 +130,7 @@ unsigned int BLI_ghashutil_strhash_p(const void *key); int BLI_ghashutil_strcmp(const void *a, const void *b); #define BLI_ghashutil_inthash(key) ( \ - CHECK_TYPE_INLINE(key, int), \ + CHECK_TYPE_INLINE(&(key), int *), \ BLI_ghashutil_uinthash((unsigned int)key)) unsigned int BLI_ghashutil_uinthash(unsigned int key); #define BLI_ghashutil_inthash_v4(key) ( \ -- cgit v1.2.3