From 1080b5f4750fba64b22032da607865928a23aea2 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 11 Mar 2006 04:13:10 +0000 Subject: [PATCH] Fix compiler warnings from newer version of libmhash. --- v7/src/microcode/prmhash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.25.1