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/BLI_utildefines.h
parent82c845425f0a5e2805ed7e9f6cb74920fa96229f (diff)
change CHECK_TYPE_INLINE macro not to add the pointer in the macro.
Diffstat (limited to 'source/blender/blenlib/BLI_utildefines.h')
-rw-r--r--source/blender/blenlib/BLI_utildefines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_utildefines.h b/source/blender/blenlib/BLI_utildefines.h
index 63235ad9c82..327a997bf39 100644
--- a/source/blender/blenlib/BLI_utildefines.h
+++ b/source/blender/blenlib/BLI_utildefines.h
@@ -113,7 +113,7 @@
/* can be used in simple macros */
#define CHECK_TYPE_INLINE(val, type) \
- ((void)(((type *)0) != (val)))
+ ((void)(((type)0) != (val)))
#define SWAP(type, a, b) { \
type sw_ap; \