diff options
-rw-r--r-- | source3/torture/torture.c | 2 |
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; } |