From ba9bf5016669e0b940243c51c62236968119313a Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Wed, 19 Sep 2001 06:18:46 +0000 Subject: Relevant BUGIDs: 449203 Purpose of commit: new support Commit summary: --------------- Include some BSD changes (to the conversation function) and fix a few gcc warnings. --- libpamc/include/security/pam_client.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpamc') 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))) \ -- cgit v1.2.3