diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index 8aa77e1390..550db6ae19 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,7 @@ +2010-01-20 Joel Sherrill + + * sp43/init.c: Fix warning. + 2009-12-15 Glenn Humphrey * sp69/init.c: Fixed warnings. diff --git a/testsuites/sptests/sp43/init.c b/testsuites/sptests/sp43/init.c index 086bb503c6..5ff1a84259 100644 --- a/testsuites/sptests/sp43/init.c +++ b/testsuites/sptests/sp43/init.c @@ -86,8 +86,8 @@ void change_name( else { printf( "(" ); for (c=newName ; *c ; ) { - if (isprint(*c)) printf( "%c", *c ); - else printf( "0x%02x", *c ); + if (isprint((int)*c)) printf( "%c", *c ); + else printf( "0x%02x", *c ); c++; if ( *c ) printf( "-" );