Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / uip / aliasbr.c
index 6a68c51..8b32826 100644 (file)
@@ -525,7 +525,7 @@ seek_home(char *name)
        ** The only place where there might be problems.
        ** This assumes that ALL usernames are kept in lowercase.
        */
-       for (c = name, c1 = lname; *c && (c1 - lname < sizeof(lname) - 1);
+       for (c = name, c1 = lname; *c && (c1 - lname < (int)sizeof(lname) - 1);
                        c++, c1++) {
                if (isalpha(*c) && isupper(*c))
                        *c1 = tolower(*c);