From: Luke Howard Date: Tue, 13 Sep 2011 05:08:02 +0000 (+1000) Subject: cast to match signedness X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.orig;a=commitdiff_plain;h=093e0f8d5e300c38c188cd70bf191961616480a4 cast to match signedness --- diff --git a/mech_eap/util_krb.c b/mech_eap/util_krb.c index 779c812..8589aa0 100644 --- a/mech_eap/util_krb.c +++ b/mech_eap/util_krb.c @@ -280,7 +280,7 @@ rfc3961ChecksumTypeForKey(OM_uint32 *minor, #endif /* HAVE_KRB5INT_C_MANDATORY_CKSUMTYPE */ if (!krb5_c_is_keyed_cksum(*cksumtype)) { - *minor = KRB5KRB_AP_ERR_INAPP_CKSUM; + *minor = (OM_uint32)KRB5KRB_AP_ERR_INAPP_CKSUM; return GSS_S_FAILURE; }