From f40cd9cd6015097cc51d1b23381db33433e34187 Mon Sep 17 00:00:00 2001 From: Daan Date: Tue, 31 Dec 2024 11:03:44 -0800 Subject: [PATCH] Fix signedness warning --- test/fuzz-random-alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fuzz-random-alloc.c b/test/fuzz-random-alloc.c index dc2c74de..b5144983 100644 --- a/test/fuzz-random-alloc.c +++ b/test/fuzz-random-alloc.c @@ -76,7 +76,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { mi_heap_t * heap = mi_heap_new(); void* allocation_ptrs[ALLOCATION_POINTERS] = {NULL}; - for(int i = 0; i < size; i = i + FUZZING_OPERATION_DATA_SIZE) { + for(size_t i = 0; i < size; i = i + FUZZING_OPERATION_DATA_SIZE) { fuzzing_operation_t operation = {0, {0,0}, FREE}; init_fuzzing_operation(&operation, data + i, size - i);