diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-03-11 19:13:13 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-03-11 19:13:13 +0000 |
commit | 8c8e3e0977d288e230b212caf364b44960de46d6 (patch) | |
tree | 220fcd8f049fcb9757bd790ad63a7613c06725e4 /testsuites/samples/fileio/init.c | |
parent | 2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-8c8e3e0977d288e230b212caf364b44960de46d6.tar.bz2 |
2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: Fix warnings for ctype methods.
Diffstat (limited to 'testsuites/samples/fileio/init.c')
-rw-r--r-- | testsuites/samples/fileio/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c index b8d1b31433..645499efeb 100644 --- a/testsuites/samples/fileio/init.c +++ b/testsuites/samples/fileio/init.c @@ -316,7 +316,7 @@ bool fileio_str2size(const char *str,uint32_t *res_ptr) { bool failed = false; unsigned long size; - char suffix = ' '; + unsigned char suffix = ' '; if (1 > sscanf(str,"%lu%c",&size,&suffix)) { failed = true; |