modified the size_t stuff.
authorMilind Bhandarkar <milind@cs.uiuc.edu>
Mon, 1 Dec 1997 19:35:56 +0000 (19:35 +0000)
committerMilind Bhandarkar <milind@cs.uiuc.edu>
Mon, 1 Dec 1997 19:35:56 +0000 (19:35 +0000)
src/conv-core/futures.c

index 7a64d101d7ec1425445945fa00d51bade3130790..c5cb9c2883026c9a1e91df3f40a9250989b5f175 100644 (file)
@@ -17,7 +17,7 @@ typedef struct CfutureValue_s
 }
 *CfutureValue;
 
-#define field_offset(t, f) ((size_t)(((t)0)->f))
+#define field_offset(t, f) ((CMK_SIZE_T)(((t)0)->f))
 #define void_to_value(v) ((CfutureValue)(((char*)v)-field_offset(CfutureValue,rest)))
 
 CpvDeclare(int, CfutureStoreIndex);