aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/variable.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-05-09 13:43:48 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-05-09 13:43:48 +0200
commitc65fcb7ff6d73478b83816e8b8cd55a6e09d1a1b (patch)
tree86bdfee4adcfa1ddaeb6b1b8232ffa48fc6dc117 /FICS/variable.c
parent8dedd768c6c200923e9a3cf325e63182cd14cd7d (diff)
Fixed sign compare
Diffstat (limited to 'FICS/variable.c')
-rw-r--r--FICS/variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/variable.c b/FICS/variable.c
index c8b2d7a..2af9f59 100644
--- a/FICS/variable.c
+++ b/FICS/variable.c
@@ -881,7 +881,7 @@ set_find(char *var)
{
int gotIt = -1;
int i = 0;
- int len = strlen(var);
+ size_t len = strlen(var);
while (variables[i].name) {
if (!strncmp(variables[i].name, var, len)) {