fix warning.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20471 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-04-20 10:42:25 +00:00
parent b22da5088e
commit 5285917f50

View File

@@ -166,7 +166,7 @@ kcm_ccache_new_client(krb5_context context,
* default gid. * default gid.
*/ */
if (CLIENT_IS_ROOT(client)) { if (CLIENT_IS_ROOT(client)) {
uid_t uid; unsigned long uid;
int matches = sscanf(name,"%ld:",&uid); int matches = sscanf(name,"%ld:",&uid);
if (matches == 0) if (matches == 0)
matches = sscanf(name,"%ld",&uid); matches = sscanf(name,"%ld",&uid);