From 573f1d6e29dbd4c1ab6a560f4f2da3a0512832e3 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 25 Jan 2010 08:52:48 -0500 Subject: Fix size error on 64-bit systems --- server/responder/pam/pamsrv_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/responder') diff --git a/server/responder/pam/pamsrv_cmd.c b/server/responder/pam/pamsrv_cmd.c index 324ab8352..bc7685368 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; -- cgit