projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e6676b
)
change
author
bdemsky
<bdemsky>
Wed, 14 Oct 2009 08:12:08 +0000
(08:12 +0000)
committer
bdemsky
<bdemsky>
Wed, 14 Oct 2009 08:12:08 +0000
(08:12 +0000)
Robust/src/Runtime/STM/stm.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/STM/stm.c
b/Robust/src/Runtime/STM/stm.c
index 34c3f8906a573012f0c9ac577fd2c4c3d2244e70..76e6ac7206b330fc22e60da9fd7e4bb6d9cbb3ff 100644
(file)
--- a/
Robust/src/Runtime/STM/stm.c
+++ b/
Robust/src/Runtime/STM/stm.c
@@
-173,7
+173,7
@@
void *transRead(void * oid, void *gl) {
size = basesize + sizeof(objheader_t)+metasize;
char *tmpptr = (char *) objstrAlloc(size);
bzero(objcopy, metasize);//clear out stm data
- objcopy=
tmpptr+metasize
;
+ objcopy=
(objheader_t *) (tmpptr+metasize)
;
A_memcpy(objcopy, header, sizeof(objheader_t)+sizeof(struct ArrayObject)); //copy the metadata and base array info
} else {
GETSIZE(size, header);