svn commit: samba r5905 - in branches/SAMBA_3_0/source/smbd: .
vlendec at samba.org
vlendec at samba.org
Sat Mar 19 18:21:41 GMT 2005
Author: vlendec
Date: 2005-03-19 18:21:39 +0000 (Sat, 19 Mar 2005)
New Revision: 5905
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5905
Log:
Fix two warnings found by AIX. They might actually be bugs on 64-bit
platforms.
Volker
Modified:
branches/SAMBA_3_0/source/smbd/chgpasswd.c
branches/SAMBA_3_0/source/smbd/service.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/chgpasswd.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/chgpasswd.c 2005-03-19 18:21:20 UTC (rev 5904)
+++ branches/SAMBA_3_0/source/smbd/chgpasswd.c 2005-03-19 18:21:39 UTC (rev 5905)
@@ -943,7 +943,8 @@
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) {
Modified: branches/SAMBA_3_0/source/smbd/service.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/service.c 2005-03-19 18:21:20 UTC (rev 5904)
+++ branches/SAMBA_3_0/source/smbd/service.c 2005-03-19 18:21:39 UTC (rev 5905)
@@ -272,7 +272,7 @@
struct passwd *pass = NULL;
BOOL guest = False;
connection_struct *conn;
- struct stat st;
+ SMB_STRUCT_STAT st;
fstring user;
fstring dev;
More information about the samba-cvs
mailing list