summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-05-21 12:17:53 -0700
committerTim Prouty <tprouty@samba.org>2009-05-21 12:17:53 -0700
commit96ede10cfb3b939b6d69e635baef3c8694bbc1f6 (patch)
tree49e04e9761ecd484b5ae594cf9059285918809b6 /source3/torture
parentcfc68fc9d99bf1e334e53b1e9e74d56d678b6795 (diff)
downloadsamba-96ede10cfb3b939b6d69e635baef3c8694bbc1f6.tar.gz
samba-96ede10cfb3b939b6d69e635baef3c8694bbc1f6.tar.bz2
samba-96ede10cfb3b939b6d69e635baef3c8694bbc1f6.zip
s3 torture: Fix warning
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 25a912dec5..6651219098 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -4221,7 +4221,7 @@ static bool run_simple_posix_open_test(int dummy)
out:
- if (fnum1 != -1) {
+ if (fnum1 != (uint16_t)-1) {
cli_close(cli1, fnum1);
fnum1 = -1;
}