From: bdemsky Date: Wed, 14 Oct 2009 08:12:08 +0000 (+0000) Subject: change X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d1d21f290da37027c584fd789722939e0889e281;p=IRC.git change --- diff --git a/Robust/src/Runtime/STM/stm.c b/Robust/src/Runtime/STM/stm.c index 34c3f890..76e6ac72 100644 --- 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);