diff options
| author | Mattias Andrée <maandree@operamail.com> | 2014-04-07 19:53:18 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2014-04-07 19:53:18 +0200 |
| commit | 957f069114bd1170ae53b1fa2562b7d541e15d65 (patch) | |
| tree | 5fc5ead070e66f736fe9fd1fecfe9b16005eb418 /src/auth/pam.c | |
| parent | fix warnings and errors (diff) | |
| download | cerberus-957f069114bd1170ae53b1fa2562b7d541e15d65.tar.gz cerberus-957f069114bd1170ae53b1fa2562b7d541e15d65.tar.bz2 cerberus-957f069114bd1170ae53b1fa2562b7d541e15d65.tar.xz | |
fix warning in auth/pam
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/auth/pam.c')
| -rw-r--r-- | src/auth/pam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auth/pam.c b/src/auth/pam.c index c4f38e9..94cf28a 100644 --- a/src/auth/pam.c +++ b/src/auth/pam.c @@ -247,7 +247,7 @@ int conv_pam(int num_msg, const struct pam_message** msg, struct pam_response** (void) appdata_ptr; - *resp = calloc(num_msg, sizeof(struct pam_response)); + *resp = calloc((size_t)num_msg, sizeof(struct pam_response)); for (i = 0; i < num_msg; i++) { |
