From 92e6ae2a9f2c21bc6a57c4c006ffeea124b1bf32 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Wed, 20 Aug 2008 01:55:25 +0000 Subject: [PATCH] get rid of compiler warning --- 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 95d8d78c..96a4aa35 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 *)x)!=NULL)?(*((unsigned int *)&((struct ___Object___ *) x)->___nextobject___)):0 + ((void*)(((void *) x )!=NULL)?0:(*((unsigned int *)&((struct ___Object___ *) x)->___nextobject___))) #define STATUS(x) \ *((unsigned int *) &(((struct ___Object___ *)((unsigned int) x + sizeof(objheader_t)))->___localcopy___)) -- 2.34.1