fix warning.
authorLove Hörnquist Åstrand <lha@kth.se>
Fri, 20 Apr 2007 10:42:25 +0000 (10:42 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Fri, 20 Apr 2007 10:42:25 +0000 (10:42 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20471 ec53bebd-3082-4978-b11e-865c3cabbd6b

kcm/client.c

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