summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-01-20 17:11:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-01-20 17:11:01 +0000
commit35dfbd79ebd1f6e97eaf749d6b54406c5346bc5d (patch)
tree4247cbfb300530ff41e823e6e1eaf66e04136509 /testsuites
parent2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-35dfbd79ebd1f6e97eaf749d6b54406c5346bc5d.tar.bz2
2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp43/init.c: Fix warning.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/ChangeLog4
-rw-r--r--testsuites/sptests/sp43/init.c4
2 files changed, 6 insertions, 2 deletions
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 <joel.sherrill@oarcorp.com>
+
+ * sp43/init.c: Fix warning.
+
2009-12-15 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* 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( "-" );