diff options
author | brooks <brooks@FreeBSD.org> | 2010-01-09 23:36:51 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2010-01-09 23:36:51 +0000 |
commit | 0b0c77182599230a7babe401edff4721ba447efd (patch) | |
tree | ad6401852161cc68e5f46f314228a85c36c7c71e | |
parent | 2f5a1a8355eb7616a9382fc7efccb3b5b917ff40 (diff) | |
download | FreeBSD-src-0b0c77182599230a7babe401edff4721ba447efd.zip FreeBSD-src-0b0c77182599230a7babe401edff4721ba447efd.tar.gz |
Use the correct types to store uids and gids in the credential cache.
-rw-r--r-- | lib/libc/rpc/svc_auth_des.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/rpc/svc_auth_des.c b/lib/libc/rpc/svc_auth_des.c index 84f1e19..de4d1b4 100644 --- a/lib/libc/rpc/svc_auth_des.c +++ b/lib/libc/rpc/svc_auth_des.c @@ -449,10 +449,10 @@ cache_spot(key, name, timestamp) #define INVALID -1 /* grouplen, if cache entry is invalid */ struct bsdcred { - short uid; /* cached uid */ - short gid; /* cached gid */ - short grouplen; /* length of cached groups */ - short groups[NGROUPS]; /* cached groups */ + uid_t uid; /* cached uid */ + gid_t gid; /* cached gid */ + int grouplen; /* length of cached groups */ + gid_t groups[NGRPS]; /* cached groups */ }; /* |