diff options
author | Volker Lendecke <vl@samba.org> | 2020-07-07 08:48:58 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2020-07-09 20:16:40 +0000 |
commit | 89d21f507288408ca366350d13c1c106662f5941 (patch) | |
tree | 2e37737ef2fef163e2b971806169359373a0c343 /source3/torture | |
parent | 0bb1488d315e93162eae433f869c1ddabea722c0 (diff) | |
download | samba-89d21f507288408ca366350d13c1c106662f5941.tar.gz |
torture3: Silence two signed/unsigned warnings
A longer fix would be to change the callbacks to use "int" instead of
"unsigned". Arguably that might be cleaner, but as this is torture
code I opted for the minimum necessary change.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/test_notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/test_notify.c b/source3/torture/test_notify.c index 20b39d1e5db..dae06c162dd 100644 --- a/source3/torture/test_notify.c +++ b/source3/torture/test_notify.c @@ -224,7 +224,7 @@ bool run_notify_bench2(int dummy) } } - while (num_notifies < torture_nprocs * torture_numops) { + while (num_notifies < (unsigned)(torture_nprocs * torture_numops)) { int ret; ret = tevent_loop_once(ev); if (ret != 0) { @@ -709,7 +709,7 @@ bool run_notify_bench3(int dummy) } } - while (num_done < torture_nprocs * torture_numops) { + while (num_done < (unsigned)(torture_nprocs * torture_numops)) { int ret; ret = tevent_loop_once(ev); if (ret != 0) { |