fix warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20471 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user