From 8004eac37fde476e3394da28a25a45cc8585bab9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 28 Oct 2004 13:51:41 +0000 Subject: r3327: fixed another warning we're now down the the last few warnings. Most are enum warnings caused by unfinished code (unhandled enum levels). If you want to get rid of those then work on finishing that code. (This used to be commit b62f7bb971c94be666ef816b24e93a14fd90f5e0) --- source4/client/clitar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/client') diff --git a/source4/client/clitar.c b/source4/client/clitar.c index e10a6b6698..7a4cea4ac7 100644 --- a/source4/client/clitar.c +++ b/source4/client/clitar.c @@ -1441,19 +1441,19 @@ int cmd_setmode(const char **cmd_ptr) /**************************************************************************** Principal command for creating / extracting ***************************************************************************/ -int cmd_tar(char **cmd_ptr) +int cmd_tar(const char **cmd_ptr) { fstring buf; char **argl; int argcl; - if (!next_token((const char **)cmd_ptr,buf,NULL,sizeof(buf))) + if (!next_token(cmd_ptr,buf,NULL,sizeof(buf))) { DEBUG(0,("tar [IXbgan] \n")); return 1; } - argl=toktocliplist(*cmd_ptr, &argcl, NULL); + argl=toktocliplist(discard_const_p(char, *cmd_ptr), &argcl, NULL); if (!tar_parseargs(argcl, argl, buf, 0)) return 1; -- cgit