2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>

* sp43/init.c: Readdress use of ctype methods per recommendation from
	D.J. Delorie on the newlib mailing list. We should pass an unsigned
	char into these methods.
This commit is contained in:
Joel Sherrill
2010-03-12 16:26:36 +00:00
parent bab5c5fac0
commit 88353c47f2
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/init.c: Readdress use of ctype methods per recommendation from
D.J. Delorie on the newlib mailing list. We should pass an unsigned
char into these methods.
2010-03-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new fatal error for configuring

View File

@@ -86,8 +86,8 @@ void change_name(
else {
printf( "(" );
for (c=newName ; *c ; ) {
if (isprint((int)*c)) printf( "%c", *c );
else printf( "0x%02x", *c );
if (isprint((unsigned char)*c)) printf( "%c", *c );
else printf( "0x%02x", *c );
c++;
if ( *c )
printf( "-" );