svn commit: samba r5904 - in trunk/source/smbd: .

vlendec at samba.org vlendec at samba.org
Sat Mar 19 18:21:20 GMT 2005


Author: vlendec
Date: 2005-03-19 18:21:20 +0000 (Sat, 19 Mar 2005)
New Revision: 5904

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5904

Log:
Fix two warnings found by AIX. They might actually be bugs on 64-bit
platforms.

Volker

Modified:
   trunk/source/smbd/chgpasswd.c
   trunk/source/smbd/service.c


Changeset:
Modified: trunk/source/smbd/chgpasswd.c
===================================================================
--- trunk/source/smbd/chgpasswd.c	2005-03-19 10:28:31 UTC (rev 5903)
+++ trunk/source/smbd/chgpasswd.c	2005-03-19 18:21:20 UTC (rev 5904)
@@ -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;
 
 	pdb_get_account_policy(AP_PASSWORD_HISTORY, &pwHisLen);
 	if (pwHisLen == 0) {

Modified: trunk/source/smbd/service.c
===================================================================
--- trunk/source/smbd/service.c	2005-03-19 10:28:31 UTC (rev 5903)
+++ trunk/source/smbd/service.c	2005-03-19 18:21:20 UTC (rev 5904)
@@ -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