From 4949a2cfaa13fc0311a209c5e72eee0378e8b35a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 3 May 2009 22:45:42 +0200 Subject: Fix some warnings due to uint16_t!=-1 always being true --- source3/client/clitar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/client') 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; } -- cgit