From: bdemsky Date: Wed, 14 Oct 2009 08:15:51 +0000 (+0000) Subject: change X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1bde0b00f5eaca7beaa761ab32b24d0701629afb;p=IRC.git change --- diff --git a/Robust/src/Runtime/STM/stm.c b/Robust/src/Runtime/STM/stm.c index 76e6ac72..0db8e33c 100644 --- a/Robust/src/Runtime/STM/stm.c +++ b/Robust/src/Runtime/STM/stm.c @@ -203,7 +203,7 @@ void *transRead(void * oid, void *gl) { #ifdef STMARRAY //caller needs to mark data as present void arraycopy(struct ArrayObject *oid, int byteindex) { - struct ArrayObject * orig=oid->___objlocation___; + struct ArrayObject * orig=(struct ArrayObject *) oid->___objlocation___; int baseoffset=byteindex&HIGHMASK; A_memcpy(((char *)&oid[1])+baseoffset, ((char *)&orig[1])+baseoffset, INDEXLENGTH); if (oid->lowoffset>baseoffset)