summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp43
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/sptests/sp43
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/sptests/sp43')
-rw-r--r--testsuites/sptests/sp43/init.c4
1 files changed, 2 insertions, 2 deletions
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( "-" );