]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
torture3: Align integer types
authorVolker Lendecke <vl@samba.org>
Tue, 7 Jul 2020 06:50:31 +0000 (08:50 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 9 Jul 2020 20:16:40 +0000 (20:16 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/torture/test_notify.c

index dae06c162dd4127b90159c53b569a2e48d2e5837..33c2381fbbdf48abda559d1f53edfaead2fd8fcb 100644 (file)
@@ -641,7 +641,7 @@ bool run_notify_bench3(int dummy)
        struct tevent_context *ev;
        struct tevent_barrier *small;
        struct tevent_barrier *large;
-       unsigned i, j;
+       int i;
        unsigned num_done = 0;
        struct timeval ts, now;
 
@@ -680,6 +680,7 @@ bool run_notify_bench3(int dummy)
        }
 
        for (i=0; i<torture_nprocs; i++) {
+               int j;
                for (j=0; j<torture_numops; j++) {
                        int idx = i * torture_numops + j;
                        struct tevent_req *req;