summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-03 22:45:42 +0200
committerVolker Lendecke <vl@samba.org>2009-05-03 22:48:31 +0200
commit4949a2cfaa13fc0311a209c5e72eee0378e8b35a (patch)
treebe897f4dbc90c817c3a1612ccf6c633ba8af8233 /source3/utils
parent38cb53cdeb44873be70063d30dda5e4597fc11b7 (diff)
downloadsamba-4949a2cfaa13fc0311a209c5e72eee0378e8b35a.tar.gz
samba-4949a2cfaa13fc0311a209c5e72eee0378e8b35a.tar.bz2
samba-4949a2cfaa13fc0311a209c5e72eee0378e8b35a.zip
Fix some warnings due to uint16_t!=-1 always being true
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 8689a09e20..9f4470b60d 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -4319,7 +4319,7 @@ static void show_userlist(struct rpc_pipe_client *pipe_hnd,
d_printf(" %s\n", tokens[i].name);
}
- if (fnum != -1)
+ if (fnum != (uint16_t)-1)
cli_close(cli, fnum);
cli_tdis(cli);
cli->cnum = cnum;