Skip to content

Commit

Permalink
Fixed a printf format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratstail91 committed Oct 30, 2024
1 parent d19ca1b commit 163c8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cases/test_value.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ int test_value_creation() {
if (sizeof(Toy_Value) != 8)
#endif
{
fprintf(stderr, TOY_CC_ERROR "ERROR: 'Toy_Value' is an unexpected size in memory, expected %d found %d\n" TOY_CC_RESET, TOY_BITNESS, sizeof(Toy_Value));
fprintf(stderr, TOY_CC_ERROR "ERROR: 'Toy_Value' is an unexpected size in memory, expected %d found %d\n" TOY_CC_RESET, TOY_BITNESS, (int)sizeof(Toy_Value));
return -1;
}
}
Expand Down

0 comments on commit 163c8aa

Please sign in to comment.