svn commit: samba r25119 - in branches: SAMBA_3_2/source/rpc_server SAMBA_3_2_0/source/rpc_server

jra at samba.org jra at samba.org
Thu Sep 13 00:29:26 GMT 2007


Author: jra
Date: 2007-09-13 00:29:25 +0000 (Thu, 13 Sep 2007)
New Revision: 25119

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

Log:
Fix a couple of warnings.
Jeremy.

Modified:
   branches/SAMBA_3_2/source/rpc_server/srv_dfs_nt.c
   branches/SAMBA_3_2/source/rpc_server/srv_lsa_hnd.c
   branches/SAMBA_3_2_0/source/rpc_server/srv_dfs_nt.c
   branches/SAMBA_3_2_0/source/rpc_server/srv_lsa_hnd.c


Changeset:
Modified: branches/SAMBA_3_2/source/rpc_server/srv_dfs_nt.c
===================================================================
--- branches/SAMBA_3_2/source/rpc_server/srv_dfs_nt.c	2007-09-12 23:50:21 UTC (rev 25118)
+++ branches/SAMBA_3_2/source/rpc_server/srv_dfs_nt.c	2007-09-13 00:29:25 UTC (rev 25119)
@@ -291,7 +291,8 @@
 	}
 	vfs_ChDir(p->conn,p->conn->connectpath);
 
-	DEBUG(5,("_dfs_Enum: %d junctions found in Dfs, doing level %d\n", num_jn, r->in.level));
+	DEBUG(5,("_dfs_Enum: %u junctions found in Dfs, doing level %d\n",
+				(unsigned int)num_jn, r->in.level));
 
 	*r->out.total = num_jn;
 

Modified: branches/SAMBA_3_2/source/rpc_server/srv_lsa_hnd.c
===================================================================
--- branches/SAMBA_3_2/source/rpc_server/srv_lsa_hnd.c	2007-09-12 23:50:21 UTC (rev 25118)
+++ branches/SAMBA_3_2/source/rpc_server/srv_lsa_hnd.c	2007-09-13 00:29:25 UTC (rev 25119)
@@ -44,7 +44,7 @@
  pipes of the same name.
 ****************************************************************************/
 
-BOOL init_pipe_handle_list(pipes_struct *p, char *pipe_name)
+BOOL init_pipe_handle_list(pipes_struct *p, const char *pipe_name)
 {
 	pipes_struct *plist = get_first_internal_pipe();
 	struct handle_list *hl = NULL;

Modified: branches/SAMBA_3_2_0/source/rpc_server/srv_dfs_nt.c
===================================================================
--- branches/SAMBA_3_2_0/source/rpc_server/srv_dfs_nt.c	2007-09-12 23:50:21 UTC (rev 25118)
+++ branches/SAMBA_3_2_0/source/rpc_server/srv_dfs_nt.c	2007-09-13 00:29:25 UTC (rev 25119)
@@ -291,7 +291,8 @@
 	}
 	vfs_ChDir(p->conn,p->conn->connectpath);
 
-	DEBUG(5,("_dfs_Enum: %d junctions found in Dfs, doing level %d\n", num_jn, r->in.level));
+	DEBUG(5,("_dfs_Enum: %u junctions found in Dfs, doing level %d\n",
+				(unsigned int)num_jn, r->in.level));
 
 	*r->out.total = num_jn;
 

Modified: branches/SAMBA_3_2_0/source/rpc_server/srv_lsa_hnd.c
===================================================================
--- branches/SAMBA_3_2_0/source/rpc_server/srv_lsa_hnd.c	2007-09-12 23:50:21 UTC (rev 25118)
+++ branches/SAMBA_3_2_0/source/rpc_server/srv_lsa_hnd.c	2007-09-13 00:29:25 UTC (rev 25119)
@@ -44,7 +44,7 @@
  pipes of the same name.
 ****************************************************************************/
 
-BOOL init_pipe_handle_list(pipes_struct *p, char *pipe_name)
+BOOL init_pipe_handle_list(pipes_struct *p, const char *pipe_name)
 {
 	pipes_struct *plist = get_first_internal_pipe();
 	struct handle_list *hl = NULL;



More information about the samba-cvs mailing list