From 2f3312c3960ea3732314b6df6417093d2ae29a70 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 Aug 2008 22:52:55 +0000 Subject: [PATCH] bug fix --- Robust/src/Runtime/DSTM/interface/dstm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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___)) -- 2.34.1