diff options
-rw-r--r-- | networking/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tftp.c b/networking/tftp.c index 92966a253..10aa63bb9 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -294,7 +294,7 @@ static inline int tftp(const int cmd, const struct hostent *host, | |||
294 | #ifdef CONFIG_FEATURE_TFTP_DEBUG | 294 | #ifdef CONFIG_FEATURE_TFTP_DEBUG |
295 | fprintf(stderr, "sending %u bytes\n", len); | 295 | fprintf(stderr, "sending %u bytes\n", len); |
296 | for (cp = buf; cp < &buf[len]; cp++) | 296 | for (cp = buf; cp < &buf[len]; cp++) |
297 | fprintf(stderr, "%02x ", *cp); | 297 | fprintf(stderr, "%02x ", (unsigned char)*cp); |
298 | fprintf(stderr, "\n"); | 298 | fprintf(stderr, "\n"); |
299 | #endif | 299 | #endif |
300 | if (sendto(socketfd, buf, len, 0, | 300 | if (sendto(socketfd, buf, len, 0, |