diff options
Diffstat (limited to 'cpukit/libmisc/shell/shell_makeargs.c')
-rw-r--r-- | cpukit/libmisc/shell/shell_makeargs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libmisc/shell/shell_makeargs.c b/cpukit/libmisc/shell/shell_makeargs.c index 346a8706b5..248a8c6a89 100644 --- a/cpukit/libmisc/shell/shell_makeargs.c +++ b/cpukit/libmisc/shell/shell_makeargs.c @@ -34,7 +34,7 @@ int rtems_shell_make_args( while ( *ch ) { - while ( isspace((int)*ch) ) ch++; + while ( isspace((unsigned char)*ch) ) ch++; if ( *ch == '\0' ) break; @@ -44,7 +44,7 @@ int rtems_shell_make_args( while ( ( *ch == '\0' ) && ( *ch != '"' ) ) ch++; } else { argv_p[ argc++ ] = ch; - while ( ( *ch == '\0' ) && ( !isspace((int)*ch) ) ) ch++; + while ( ( *ch == '\0' ) && ( !isspace((unsigned char)*ch) ) ) ch++; } if ( *ch == '\0' ) |