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 | f7218d1c66ae91fa79f5a40e0ba618beba038bbc (patch) | |
tree | c7a4b1323b760ad912a3e36b6afd43d0eb6def13 | |
parent | 72eda746c2cc0a362aef6e08f7cd89e65cc7e86d (diff) | |
download | samba-f7218d1c66ae91fa79f5a40e0ba618beba038bbc.tar.gz samba-f7218d1c66ae91fa79f5a40e0ba618beba038bbc.tar.xz samba-f7218d1c66ae91fa79f5a40e0ba618beba038bbc.zip |
r5905: Fix two warnings found by AIX. They might actually be bugs on 64-bit
platforms.
Volker
-rw-r--r-- | source/smbd/chgpasswd.c | 3 | ||||
-rw-r--r-- | source/smbd/service.c | 2 |
2 files changed, 3 insertions, 2 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) { diff --git a/source/smbd/service.c b/source/smbd/service.c index 684d49c56ae..7bbf8d7f2a5 100644 --- a/source/smbd/service.c +++ b/source/smbd/service.c @@ -272,7 +272,7 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser, struct passwd *pass = NULL; BOOL guest = False; connection_struct *conn; - struct stat st; + SMB_STRUCT_STAT st; fstring user; fstring dev; |