aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/adminproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/adminproc.c')
-rw-r--r--FICS/adminproc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/FICS/adminproc.c b/FICS/adminproc.c
index 9bc570d..8cbd95b 100644
--- a/FICS/adminproc.c
+++ b/FICS/adminproc.c
@@ -424,11 +424,9 @@ com_anews(int p, param_list param)
PUBLIC int
strcmpwild(char *mainstr, char *searchstr)
{
- int i;
-
if (strlen(mainstr) < strlen(searchstr))
return 1;
- for (i = 0; i < strlen(mainstr); i++) {
+ for (size_t i = 0; i < strlen(mainstr); i++) {
if (searchstr[i] == '*')
return 0;
if (mainstr[i] != searchstr[i])