Skip to content

Commit 3bf7549

Browse files
committed
fix(test): Update printf specifiers.
I previously was using `int` as the iterator, but switched towards `size_t`.
1 parent 3531a12 commit 3bf7549

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/vec/api/should_convert_arrays.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ it_should(convert_arrays) {
3131
char j;
3232
yavl_vec_get(&vec, i, &j);
3333
test_if(heaparr[i]==j) printf("Bug: read: %i!=%i\n",heaparr[i],j);
34-
printf(" * %2i | %2i\n",i,j);
34+
printf(" * %2zu | %2i\n",i,j);
3535
test_if(j==i) goto exit;
3636
}
3737
for(;i<10;++i) {

0 commit comments

Comments
 (0)