diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-03-19 18:21:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:07 -0500 |
commit | 4b122ce2da493e3abd1ca54dd2ce8b9752e70ec8 (patch) | |
tree | fe0e97ac5999e2801a3b0edcd066d6945852cb16 /source3/smbd/chgpasswd.c | |
parent | 2b71ed0cda9fcb2ee3399956745075aa27472246 (diff) | |
download | samba-4b122ce2da493e3abd1ca54dd2ce8b9752e70ec8.tar.gz samba-4b122ce2da493e3abd1ca54dd2ce8b9752e70ec8.tar.bz2 samba-4b122ce2da493e3abd1ca54dd2ce8b9752e70ec8.zip |
r5905: Fix two warnings found by AIX. They might actually be bugs on 64-bit
platforms.
Volker
(This used to be commit f7218d1c66ae91fa79f5a40e0ba618beba038bbc)
Diffstat (limited to 'source3/smbd/chgpasswd.c')
-rw-r--r-- | source3/smbd/chgpasswd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c index 540acfc225..989fc4d68c 100644 --- a/source3/smbd/chgpasswd.c +++ b/source3/smbd/chgpasswd.c @@ -943,7 +943,8 @@ static BOOL check_passwd_history(SAM_ACCOUNT *sampass, const char *plaintext) const uint8 *nt_pw; const uint8 *pwhistory; BOOL found = False; - int i, pwHisLen, curr_pwHisLen; + int i; + uint32 pwHisLen, curr_pwHisLen; account_policy_get(AP_PASSWORD_HISTORY, &pwHisLen); if (pwHisLen == 0) { |