From c36033e00cb750ed44197f3f89a8b135d315d661 Mon Sep 17 00:00:00 2001 From: David Lovemore Date: Tue, 1 May 2012 16:58:22 +0100 Subject: Fixed some places where casts are missing in vararg arguments. Copied from Perforce Change: 178074 ServerID: perforce.ravenbrook.com --- mps/code/libcbt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mps/code/libcbt.c') diff --git a/mps/code/libcbt.c b/mps/code/libcbt.c index 9090eb8a6d5..7e13734ecf8 100644 --- a/mps/code/libcbt.c +++ b/mps/code/libcbt.c @@ -42,7 +42,7 @@ int main(void) die(mps_lib_callback_register("mps_clock", (mps_lib_function_t)libcbt_clock), "register clock"); - die(mps_arena_create(&arena, mps_arena_class_vm(), 1000*1000), + die(mps_arena_create(&arena, mps_arena_class_vm(), (size_t)1000*1000), "mps_arena_create"); if(defects) { printf("Conclusion: Defects detected.\n"); -- cgit v1.2.1