diff --git a/pam_yubico.c b/pam_yubico.c index 90d63fa..bbde954 100644 --- a/pam_yubico.c +++ b/pam_yubico.c @@ -227,7 +227,7 @@ authorize_user_token_ldap (struct cfg *cfg, #ifdef HAVE_LIBLDAP /* LDAPv2 is historical -- RFC3494. */ int protocol = LDAP_VERSION3; - int yubi_attr_prefix_len = 0; + size_t yubi_attr_prefix_len = 0; LDAP *ld = NULL; LDAPMessage *result = NULL, *e; BerElement *ber;