projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8d7364
)
should fix the bug...surprised that didn't show up earlier...
author
bdemsky
<bdemsky>
Wed, 20 Aug 2008 00:44:46 +0000
(
00:44
+0000)
committer
bdemsky
<bdemsky>
Wed, 20 Aug 2008 00:44:46 +0000
(
00:44
+0000)
Robust/src/Runtime/DSTM/interface/dstm.h
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/DSTM/interface/dstm.h
b/Robust/src/Runtime/DSTM/interface/dstm.h
index 7724cf3e2c002752de2138bc9bacf18c6e7c86df..df1b024cf442928be84e44b320259b5637e2dd2e 100644
(file)
--- 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) \
- (
*((unsigned int *)&((struct ___Object___ *) x)->___nextobject___))
+ (
(void *x)!=NULL)?(*((unsigned int *)&((struct ___Object___ *) x)->___nextobject___)):0
#define STATUS(x) \
*((unsigned int *) &(((struct ___Object___ *)((unsigned int) x + sizeof(objheader_t)))->___localcopy___))