From: root Date: Wed, 20 Aug 2008 22:52:55 +0000 (+0000) Subject: bug fix X-Git-Tag: buildscript^6~91 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2f3312c3960ea3732314b6df6417093d2ae29a70;p=IRC.git bug fix --- diff --git a/Robust/src/Runtime/DSTM/interface/dstm.h b/Robust/src/Runtime/DSTM/interface/dstm.h index 96a4aa35..fab894a8 100644 --- a/Robust/src/Runtime/DSTM/interface/dstm.h +++ b/Robust/src/Runtime/DSTM/interface/dstm.h @@ -105,7 +105,7 @@ typedef struct objheader { (*((unsigned int *)&((struct ___Object___ *)((unsigned int) x + sizeof(objheader_t)))->___nextobject___)) #define COMPOID(x) \ - ((void*)(((void *) x )!=NULL)?0:(*((unsigned int *)&((struct ___Object___ *) x)->___nextobject___))) + ((void*)(((void *) x )!=NULL)?(*((unsigned int *)&((struct ___Object___ *) x)->___nextobject___))):0 #define STATUS(x) \ *((unsigned int *) &(((struct ___Object___ *)((unsigned int) x + sizeof(objheader_t)))->___localcopy___))