From 1bde0b00f5eaca7beaa761ab32b24d0701629afb Mon Sep 17 00:00:00 2001 From: bdemsky Date: Wed, 14 Oct 2009 08:15:51 +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 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) -- 2.34.1