From 163c8aa7f6d004274ef0f7647800aa4937f9c253 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Wed, 30 Oct 2024 20:52:52 +1100 Subject: [PATCH] Fixed a printf format issue --- tests/cases/test_value.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cases/test_value.c b/tests/cases/test_value.c index f0b48b8..ab30621 100644 --- a/tests/cases/test_value.c +++ b/tests/cases/test_value.c @@ -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; } }