From: Chris Hanson Date: Sat, 11 Mar 2006 04:13:10 +0000 (+0000) Subject: Fix compiler warnings from newer version of libmhash. X-Git-Tag: 20090517-FFI~1063 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=1080b5f4750fba64b22032da607865928a23aea2;p=mit-scheme.git Fix compiler warnings from newer version of libmhash. --- diff --git a/v7/src/microcode/prmhash.c b/v7/src/microcode/prmhash.c index 8794c8977..d86d396cc 100644 --- a/v7/src/microcode/prmhash.c +++ b/v7/src/microcode/prmhash.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: prmhash.c,v 11.6 2003/02/14 18:28:23 cph Exp $ +$Id: prmhash.c,v 11.7 2006/03/11 04:13:10 cph Exp $ Copyright (c) 2000-2001 Massachusetts Institute of Technology @@ -38,7 +38,7 @@ USA. } static SCHEME_OBJECT -cp2s (char * cp) +cp2s (void * cp) { if (cp == 0) return (SHARP_F); @@ -261,7 +261,7 @@ initialize_keygenid_map (void) keygenid_map = (OS_malloc ((sizeof (keygenid)) * keygenid_count)); while (j < keygenid_count) { - char * name = (mhash_get_keygen_name (i)); + void * name = (mhash_get_keygen_name (i)); if (name != 0) { (keygenid_map[j++]) = ((keygenid) i);