~ chicken-core (chicken-5) 6652b5b58d51cb0b291e5fd32bb46447633cc7e3


commit 6652b5b58d51cb0b291e5fd32bb46447633cc7e3
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Fri Jan 14 23:46:36 2011 +0100
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Fri Jan 14 23:46:36 2011 +0100

    get rid of some C compiler warnings in runtime.c

diff --git a/runtime.c b/runtime.c
index 18f10b52..8b479161 100644
--- a/runtime.c
+++ b/runtime.c
@@ -3893,7 +3893,7 @@ C_regparm C_word C_fcall C_equalp(C_word x, C_word y)
     if(bits & C_SPECIALBLOCK_BIT) {
       /* do not recurse into closures */
       if((bits & C_CLOSURE_TYPE) != 0) 
-	return !C_memcmp(x, y, n * sizeof(C_word));
+	return !C_memcmp((void *)x, (void *)y, n * sizeof(C_word));
       else if(C_block_item(x, 0) != C_block_item(y, 0)) return 0;
       else ++i;
 
Trap