]> git.marmaro.de Git - mmh/blobdiff - uip/aliasbr.c
Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / uip / aliasbr.c
index 6a68c51ae746c7c86109d3d107062d946e2946e7..8b32826b5f9122611ae92bf0aea0c26b24d6f4e2 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);