summaryrefslogtreecommitdiff
path: root/libpamc
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2001-09-19 06:18:46 +0000
committerAndrew G. Morgan <morgan@kernel.org>2001-09-19 06:18:46 +0000
commitba9bf5016669e0b940243c51c62236968119313a (patch)
tree7b1b4ee36ee0f673ebb5b16f2e5e7cb3a462656d /libpamc
parent47567b045f65e542a4f1400e1295fa5ce7f685ac (diff)
Relevant BUGIDs: 449203
Purpose of commit: new support Commit summary: --------------- Include some BSD changes (to the conversation function) and fix a few gcc warnings.
Diffstat (limited to 'libpamc')
-rw-r--r--libpamc/include/security/pam_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpamc/include/security/pam_client.h b/libpamc/include/security/pam_client.h
index 16a2c1b1..2afddd77 100644
--- a/libpamc/include/security/pam_client.h
+++ b/libpamc/include/security/pam_client.h
@@ -140,7 +140,7 @@ do { \
#define PAM_BP_FILL(prmpt, offset, length, data) \
do { \
- int bp_length; \
+ size_t bp_length; \
__u8 *prompt = (__u8 *) (prmpt); \
bp_length = PAM_BP_LENGTH(prompt); \
if (bp_length < ((length)+(offset))) { \
@@ -151,7 +151,7 @@ do { \
#define PAM_BP_EXTRACT(prmpt, offset, length, data) \
do { \
- int __bp_length; \
+ size_t __bp_length; \
const __u8 *__prompt = (const __u8 *) (prmpt); \
__bp_length = PAM_BP_LENGTH(__prompt); \
if (((offset) < 0) || (__bp_length < ((length)+(offset))) \