1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r25119: Fix a couple of warnings.

Jeremy.
This commit is contained in:
Jeremy Allison 2007-09-13 00:29:25 +00:00 committed by Gerald (Jerry) Carter
parent 7632f8fb40
commit 0e655ac946
2 changed files with 3 additions and 2 deletions

View 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;

View 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;