From b8fe96fa81c69c21744e25f2e4ed947072244b9c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 2 Feb 2024 18:24:05 -0800 Subject: [PATCH] Fixed build warning --- test/testautomation_properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testautomation_properties.c b/test/testautomation_properties.c index e825c3b45..83f8f7ae1 100644 --- a/test/testautomation_properties.c +++ b/test/testautomation_properties.c @@ -253,7 +253,7 @@ static int properties_testCopy(void *arg) SDL_DestroyProperties(a); - num = SDL_GetNumberProperty(b, "num", 0); + num = (int)SDL_GetNumberProperty(b, "num", 0); SDLTest_AssertCheck(num == 1, "Checking number property, got %d, expected 1", num);