aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/tftpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c
index 1b674a592..561f2f044 100644
--- a/tests/server/tftpd.c
+++ b/tests/server/tftpd.c
@@ -258,7 +258,7 @@ static void read_ahead(struct testcase *test,
newline = 1;
}
}
- *p++ = c;
+ *p++ = (char)c;
}
b->counter = (int)(p - dp->th_data);
}
@@ -611,7 +611,7 @@ again:
for (cp = mode; *cp; cp++)
if (isupper((int)*cp))
- *cp = tolower((int)*cp);
+ *cp = (char)tolower((int)*cp);
/* store input protocol */
fprintf(test->server, "mode: %s\n", mode);