diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-31 01:32:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-31 01:32:57 +0400 |
commit | b8547074e18e7645bdfc3e032508f80877592034 (patch) | |
tree | 9859220869b0a8cfd63660b26e1a4a37bb87d226 /source/blender/blenlib/BLI_linklist_stack.h | |
parent | 427317d8d84345637738d4e4ed60cfd55f1bb595 (diff) |
mempool internal change, use unsigned ints where possible (less overhead),
also quiet compiler warning for BLI_LINKSTACK_FREE macro.
Diffstat (limited to 'source/blender/blenlib/BLI_linklist_stack.h')
-rw-r--r-- | source/blender/blenlib/BLI_linklist_stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_linklist_stack.h b/source/blender/blenlib/BLI_linklist_stack.h index 82ca986d9ca..e9cf820c6c8 100644 --- a/source/blender/blenlib/BLI_linklist_stack.h +++ b/source/blender/blenlib/BLI_linklist_stack.h @@ -81,7 +81,7 @@ BLI_mempool_destroy(_##var##_pool); \ _##var##_pool = NULL; (void)_##var##_pool; \ var = NULL; (void)var; \ - (void)_##var##_type; \ + (void)&(_##var##_type); \ } (void)0 #include "BLI_linklist.h" |