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

* fileio/init.c: Fix warnings for ctype methods.
This commit is contained in:
Joel Sherrill
2010-03-11 19:13:13 +00:00
parent 8a3a92dcfb
commit 8c8e3e0977
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: Fix warnings for ctype methods.
2009-11-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* loopback/init.c: Adjust return-type of rtems_bsdnet_loopattach to

View File

@@ -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;