diff --git a/NEWS b/NEWS index 1b0902e..06df20c 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,10 @@ Reported by qistoph in Issue #20: Reported by giovannibajo in Issue #27: . +** Fix segmentation fault on 64-bit systems. +Reported by multiple people in Issue #11: +. + * Version 2.3 (released 2010-04-14) ** New keyword "ldap_uri" added. diff --git a/pam_yubico.c b/pam_yubico.c index 09bff6c..bc83a25 100644 --- a/pam_yubico.c +++ b/pam_yubico.c @@ -632,7 +632,7 @@ PAM_EXTERN int pam_sm_setcred (pam_handle_t * pamh, int flags, int argc, const char **argv) { int retval; - int auth_retval; + uintptr_t auth_retval; struct cfg cfg; parse_cfg (flags, argc, argv, &cfg);