Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-08-17 08:48:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-17 08:48:34 +0400
commit9d4bf6b37bf5ec29f4c8a3ba00bef555a9fce33f (patch)
tree3f8fd826fc71df26e126218e6ca6bc2a732174d8 /source/blender/blenlib/intern/smallhash.c
parent82c845425f0a5e2805ed7e9f6cb74920fa96229f (diff)
change CHECK_TYPE_INLINE macro not to add the pointer in the macro.
Diffstat (limited to 'source/blender/blenlib/intern/smallhash.c')
-rw-r--r--source/blender/blenlib/intern/smallhash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/smallhash.c b/source/blender/blenlib/intern/smallhash.c
index d255b4a9af6..525bb37ae40 100644
--- a/source/blender/blenlib/intern/smallhash.c
+++ b/source/blender/blenlib/intern/smallhash.c
@@ -53,8 +53,8 @@
/* typically this re-assigns 'h' */
#define SMHASH_NEXT(h, hoff) ( \
- CHECK_TYPE_INLINE(&(h), unsigned int), \
- CHECK_TYPE_INLINE(&(hoff), unsigned int), \
+ CHECK_TYPE_INLINE(&(h), unsigned int *), \
+ CHECK_TYPE_INLINE(&(hoff), unsigned int *), \
((h) + (((hoff) = ((hoff) * 2) + 1), (hoff))) \
)