]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix compiler warnings
authorAlan T. DeKok <aland@freeradius.org>
Sat, 20 Oct 2012 07:26:22 +0000 (09:26 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 20 Oct 2012 07:26:22 +0000 (09:26 +0200)
src/lib/radius.c

index e0800932665e1de78f12fe865ca608f0e2c992d6..8afa66db68f78e6bd391bfac79c97cd705e49c26 100644 (file)
@@ -530,8 +530,8 @@ static void make_passwd(uint8_t *output, ssize_t *outlen,
        FR_MD5_CTX context, old;
        uint8_t digest[AUTH_VECTOR_LEN];
        uint8_t passwd[MAX_PASS_LEN];
-       int     i, n;
-       int     len;
+       size_t  i, n;
+       size_t  len;
 
        /*
         *      If the length is zero, round it up.