diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-01-25 08:52:48 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-01-25 09:08:39 -0500 |
commit | 573f1d6e29dbd4c1ab6a560f4f2da3a0512832e3 (patch) | |
tree | 8c16dedcd8bd8c67add41772060ca6e6bc0e61e1 /server/responder | |
parent | 79cafdcc25948300e2b0c85955b67b0d0c4c73c7 (diff) | |
download | sssd-573f1d6e29dbd4c1ab6a560f4f2da3a0512832e3.tar.gz sssd-573f1d6e29dbd4c1ab6a560f4f2da3a0512832e3.tar.bz2 sssd-573f1d6e29dbd4c1ab6a560f4f2da3a0512832e3.zip |
Fix size error on 64-bit systems
Diffstat (limited to 'server/responder')
-rw-r--r-- | server/responder/pam/pamsrv_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/responder/pam/pamsrv_cmd.c b/server/responder/pam/pamsrv_cmd.c index 324ab835..bc768536 100644 --- a/server/responder/pam/pamsrv_cmd.c +++ b/server/responder/pam/pamsrv_cmd.c @@ -33,7 +33,7 @@ static void pam_reply(struct pam_auth_req *preq); static int extract_authtok(uint32_t *type, uint32_t *size, uint8_t **tok, uint8_t *body, size_t blen, size_t *c) { - size_t data_size; + uint32_t data_size; if (blen-(*c) < 2*sizeof(uint32_t)) return EINVAL; |