From d1d21f290da37027c584fd789722939e0889e281 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Wed, 14 Oct 2009 08:12:08 +0000 Subject: [PATCH] change --- Robust/src/Runtime/STM/stm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1