diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-03-19 18:21:39 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2005-03-19 18:21:39 +0000 |
commit | b36b9f91a26dd0b02ea7b98809dc7d5ac81c489c (patch) | |
tree | c7a4b1323b760ad912a3e36b6afd43d0eb6def13 /source/smbd/chgpasswd.c | |
parent | e7137ecc02eb8389edf43cccd94bdf6691d361f4 (diff) | |
download | samba-b36b9f91a26dd0b02ea7b98809dc7d5ac81c489c.tar.gz samba-b36b9f91a26dd0b02ea7b98809dc7d5ac81c489c.tar.xz samba-b36b9f91a26dd0b02ea7b98809dc7d5ac81c489c.zip |
r5905: Fix two warnings found by AIX. They might actually be bugs on 64-bit
platforms.
Volker
Diffstat (limited to 'source/smbd/chgpasswd.c')
-rw-r--r-- | source/smbd/chgpasswd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/smbd/chgpasswd.c b/source/smbd/chgpasswd.c index 540acfc2250..989fc4d68c6 100644 --- a/source/smbd/chgpasswd.c +++ b/source/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) { |