Index: src/modules/rlm_ldap/rlm_ldap.c =================================================================== --- src/modules/rlm_ldap/rlm_ldap.c.orig 2009-06-02 14:53:31.000000000 +0200 +++ src/modules/rlm_ldap/rlm_ldap.c 2009-06-02 14:53:45.000000000 +0200 @@ -1862,7 +1862,7 @@ static int ldap_authenticate(void *insta LDAP_CONN *conn1; int auth_state = -1; char *challenge = NULL; - int challenge_len = MAX_CHALLENGE_LEN; + size_t challenge_len = MAX_CHALLENGE_LEN; char *state = NULL; dattr = dict_attrbyname("eDir-APC");