case uid_t to unsigned long in printf format

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15246 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-05-27 13:47:20 +00:00
parent b5bf953b97
commit 13525ea454
3 changed files with 5 additions and 3 deletions

View File

@@ -533,7 +533,7 @@ kerberos5_is(Authenticator *ap, unsigned char *data, int cnt)
break;
snprintf (ccname, sizeof(ccname),
"FILE:/tmp/krb5cc_%u", pwd->pw_uid);
"FILE:/tmp/krb5cc_%lu", (unsigned long)pwd->pw_uid);
ret = krb5_cc_resolve (context, ccname, &ccache);
if (ret) {