r25119: Fix a couple of warnings.
authorJeremy Allison <jra@samba.org>
Thu, 13 Sep 2007 00:29:25 +0000 (00:29 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:42 +0000 (12:30 -0500)
Jeremy.
(This used to be commit 0e655ac94653128566a8764ea804f37c4c7b300f)

source3/rpc_server/srv_dfs_nt.c
source3/rpc_server/srv_lsa_hnd.c

index 1ce81a76f9d5d2b4cacf99afd4b4cc6cfa8ed563..37a97258286e72f929407a4720ee26cc64bbdce2 100644 (file)
@@ -291,7 +291,8 @@ WERROR _dfs_Enum(pipes_struct *p, struct dfs_Enum *r)
        }
        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;
 
index 7250da7d0cf0cd20a3218f20d5ef64404c1ca0df..45b4fb9a5c73b697817409bf846a2758ada010db 100644 (file)
@@ -44,7 +44,7 @@ static BOOL is_samr_lsa_pipe(const char *pipe_name)
  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;