Skip to content

Commit

Permalink
Fix size error on 64-bit systems
Browse files Browse the repository at this point in the history
  • Loading branch information
sgallagher committed Jan 25, 2010
1 parent 3b17cc3 commit 4ded3a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/responder/pam/pamsrv_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 4ded3a9

Please sign in to comment.