X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Faliasbr.c;h=8b32826b5f9122611ae92bf0aea0c26b24d6f4e2;hp=6a68c51ae746c7c86109d3d107062d946e2946e7;hb=d5b5e6e4813b7fd77dc1664df4304537f3002cf3;hpb=517661967774d60716ecff152c642b417195f900 diff --git a/uip/aliasbr.c b/uip/aliasbr.c index 6a68c51..8b32826 100644 --- a/uip/aliasbr.c +++ b/uip/aliasbr.c @@ -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);