diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2025-04-04 00:16:49 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2025-04-04 00:16:49 +0200 |
commit | dd56d3faa82bf20c1ea255b9f8dcbb497f4d8b2c (patch) | |
tree | 8360bb2fe4260689697aeb55752579d0f3362835 | |
parent | 8cf8a829a7d80503e8e6b6607fbb6eceaad62de1 (diff) |
Added cast
-rw-r--r-- | FICS/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/network.c b/FICS/network.c index b2d420a..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 */; |