Skip to content

Commit

Permalink
Fix format string warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 21, 2021
1 parent 83547de commit 61e0a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/callstack.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static MVMCallStackRecord * allocate_record(MVMThreadContext *tc, MVMuint8 kind,
if ((region->alloc_limit - region->alloc) < (ptrdiff_t)size) {
size_t real_limit = MVM_CALLSTACK_REGION_SIZE - sizeof(MVMCallStackContinuationTag);
if (size > real_limit)
MVM_oops(tc, "Oversize callstack record requested (wanted %d, maximum %d)",
MVM_oops(tc, "Oversize callstack record requested (wanted %zu, maximum %zu)",
size, real_limit);
next_region(tc);
tc->stack_top = allocate_record_unchecked(tc, MVM_CALLSTACK_RECORD_START_REGION,
Expand Down

0 comments on commit 61e0a68

Please sign in to comment.