diff options
Diffstat (limited to 'FICS/network.c')
-rw-r--r-- | FICS/network.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FICS/network.c b/FICS/network.c index b795e99..1e97e20 100644 --- a/FICS/network.c +++ b/FICS/network.c @@ -267,7 +267,7 @@ net_send_string(int fd, char *str, int format) if ((which = findConnection(fd)) < 0) return -1; while (*str) { - const int upbound = strlen(str); + const int upbound = (int)strlen(str); for (i = 0; i < upbound && str[i] >= ' '; i++) { /* null */; @@ -314,6 +314,7 @@ net_send_string(int fd, char *str, int format) break; case '\033': con[which].outPos -= 3; + // XXX: fallthrough here? default: sendme(which, str, 1); } |