forked from Imagelibrary/rtems
2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c: Fix warnings for ctype methods.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user