Fix signedness warning

This commit is contained in:
Daan 2024-12-31 11:03:44 -08:00 committed by GitHub
parent 9f4bd23085
commit f40cd9cd60
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: B5690EEEBB952194

View file

@ -76,7 +76,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
mi_heap_t * heap = mi_heap_new(); mi_heap_t * heap = mi_heap_new();
void* allocation_ptrs[ALLOCATION_POINTERS] = {NULL}; 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}; fuzzing_operation_t operation = {0, {0,0}, FREE};
init_fuzzing_operation(&operation, data + i, size - i); init_fuzzing_operation(&operation, data + i, size - i);