diff options
author | Volker Lendecke <vl@samba.org> | 2009-05-03 22:45:42 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-05-03 22:48:31 +0200 |
commit | 4949a2cfaa13fc0311a209c5e72eee0378e8b35a (patch) | |
tree | be897f4dbc90c817c3a1612ccf6c633ba8af8233 /source3/client | |
parent | 38cb53cdeb44873be70063d30dda5e4597fc11b7 (diff) | |
download | samba-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.c | 2 |
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; } |