summaryrefslogtreecommitdiffstats
path: root/ttcp/rtems_ttcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ttcp/rtems_ttcp.c')
-rw-r--r--ttcp/rtems_ttcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ttcp/rtems_ttcp.c b/ttcp/rtems_ttcp.c
index 75b10ff..112e45a 100644
--- a/ttcp/rtems_ttcp.c
+++ b/ttcp/rtems_ttcp.c
@@ -135,7 +135,7 @@ ttcpTask (rtems_task_argument arg)
*/
cp = linebuf;
for (;;) {
- while (isspace (*cp))
+ while (isspace ((int) *cp))
*cp++ = '\0';
if (*cp == '\0')
break;
@@ -145,7 +145,7 @@ ttcpTask (rtems_task_argument arg)
break;
}
argv[argc++] = cp;
- while (!isspace (*cp)) {
+ while (!isspace ((int) *cp)) {
if (*cp == '\0')
break;
cp++;