Skip to content

Commit 472dac4

Browse files
committed
zone_batch_malloc, i should be unsigned
Silences annoying warning. Should not require a news.
1 parent 3596dba commit 472dac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/mimalloc/prim/osx/alloc-override-zone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ static void zone_destroy(malloc_zone_t* zone) {
8383
}
8484

8585
static unsigned zone_batch_malloc(malloc_zone_t* zone, size_t size, void** ps, unsigned count) {
86-
size_t i;
86+
unsigned i;
8787
for (i = 0; i < count; i++) {
8888
ps[i] = zone_malloc(zone, size);
8989
if (ps[i] == NULL) break;

0 commit comments

Comments
 (0)