summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-09-13 00:29:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:42 -0500
commitad26e7c4a3355e40d262a26c8cc89b09aee1c776 (patch)
tree78df7cd1b5f8030c17d4b3920ab9fd97450fb083 /source3/rpc_server
parentd5c9d87946263b5f3e3c072aa99e8ac6a6c728b9 (diff)
downloadsamba-ad26e7c4a3355e40d262a26c8cc89b09aee1c776.tar.gz
samba-ad26e7c4a3355e40d262a26c8cc89b09aee1c776.tar.bz2
samba-ad26e7c4a3355e40d262a26c8cc89b09aee1c776.zip
r25119: Fix a couple of warnings.
Jeremy. (This used to be commit 0e655ac94653128566a8764ea804f37c4c7b300f)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_dfs_nt.c3
-rw-r--r--source3/rpc_server/srv_lsa_hnd.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_dfs_nt.c b/source3/rpc_server/srv_dfs_nt.c
index 1ce81a76f9..37a9725828 100644
--- a/source3/rpc_server/srv_dfs_nt.c
+++ b/source3/rpc_server/srv_dfs_nt.c
@@ -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;
diff --git a/source3/rpc_server/srv_lsa_hnd.c b/source3/rpc_server/srv_lsa_hnd.c
index 7250da7d0c..45b4fb9a5c 100644
--- a/source3/rpc_server/srv_lsa_hnd.c
+++ b/source3/rpc_server/srv_lsa_hnd.c
@@ -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;