Fix compiler warnings in shell

This commit is contained in:
Simon Duquennoy 2016-02-03 18:01:25 +01:00
parent 5d67a612b4
commit fa078381cf
2 changed files with 2 additions and 2 deletions

View file

@ -532,7 +532,7 @@ shell_strtolong(const char *str, const char **retstr)
++strptr;
}
for(i = 0; i < 10 && isdigit(strptr[i]); ++i) {
for(i = 0; i < 10 && isdigit((int)strptr[i]); ++i) {
num = num * 10 + strptr[i] - '0';
}
if(retstr != NULL) {