diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-17 08:48:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-17 08:48:34 +0400 |
commit | 9d4bf6b37bf5ec29f4c8a3ba00bef555a9fce33f (patch) | |
tree | 3f8fd826fc71df26e126218e6ca6bc2a732174d8 /source/blender/makesdna | |
parent | 82c845425f0a5e2805ed7e9f6cb74920fa96229f (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.h | 2 |
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++; } |