From 35b4a6187ef5c101f8ab6dee3658d3c197fe03ca Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 30 Mar 2009 08:11:26 +0000 Subject: [PATCH] Avoid warning. --- pam_yubico.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pam_yubico.c b/pam_yubico.c index 0329d3b..1e741f8 100644 --- a/pam_yubico.c +++ b/pam_yubico.c @@ -584,7 +584,7 @@ pam_sm_setcred (pam_handle_t * pamh, int flags, int argc, const char **argv) /* TODO: ? */ retval = pam_get_data (pamh, "yubico_setcred_return", - &auth_retval); + (void*) (intptr_t) &auth_retval); D (("retval: %d", auth_retval)); if (retval != PAM_SUCCESS) return PAM_CRED_UNAVAIL;