summaryrefslogtreecommitdiff
path: root/source3/client
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/client
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/client')
-rw-r--r--source3/client/clitar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index c7f2819c88..fd6c4ccef9 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -789,7 +789,7 @@ static void do_atar(const char *rname_in,char *lname,file_info *finfo1)
cleanup:
- if (fnum != -1) {
+ if (fnum != (uint16_t)-1) {
cli_close(cli, fnum);
fnum = -1;
}