replace strlens by breaks, fix comparison warnings.
[citadel.git] / citadel / sysdep.c
index 42323b163c9350a3048773c95827cef5caaf67b8..d7872aebe7e0494ed765e2aaaa40d6da0bc034dd 100644 (file)
@@ -1092,7 +1092,7 @@ void checkcrash(void)
  */
 int convert_login(char NameToConvert[]) {
        struct passwd *pw;
-       int a;
+       unsigned int a;
 
        pw = getpwnam(NameToConvert);
        if (pw == NULL) {