From bf4ba7de44208dd4ccea602a30c788dcd480a12d Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 29 Jan 2008 11:53:02 +0000 Subject: fixed bug in release build --- obj-types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'obj-types.h') diff --git a/obj-types.h b/obj-types.h index bd0da73e..030099bb 100644 --- a/obj-types.h +++ b/obj-types.h @@ -101,7 +101,7 @@ typedef struct obj { /* the dummy struct that each derived class can be casted t */ #ifndef NDEBUG /* this means if debug... */ # define BEGINobjInstance \ - obj_t objData; + obj_t objData # define ISOBJ_assert(pObj) \ do { \ ASSERT((pObj) != NULL); \ @@ -114,7 +114,7 @@ typedef struct obj { /* the dummy struct that each derived class can be casted t ASSERT(objGetObjID(pObj) == OBJ##objType); \ } while(0); #else /* non-debug mode, no checks but much faster */ -# define BEGINobjInstance objInfo_t *objData.pObjInfo; objData_t objData; +# define BEGINobjInstance obj_t objData # define ISOBJ_TYPE_assert(pObj, objType) # define ISOBJ_assert(pObj) #endif -- cgit