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/makesdna
parent82c845425f0a5e2805ed7e9f6cb74920fa96229f (diff)
change CHECK_TYPE_INLINE macro not to add the pointer in the macro.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_ID.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index 875e01f8037..1e145347bb3 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -235,7 +235,7 @@ typedef struct PreviewImage {
# undef GS
#endif
// #define GS(a) (*((short *)(a)))
-#define GS(a) (CHECK_TYPE_INLINE(a, const char), (*((short *)(a))))
+#define GS(a) (CHECK_TYPE_INLINE(a, const char *), (*((short *)(a))))
#define ID_NEW(a) if ( (a) && (a)->id.newid ) (a) = (void *)(a)->id.newid
#define ID_NEW_US(a) if ( (a)->id.newid) { (a) = (void *)(a)->id.newid; (a)->id.us++; }