Fixed build warning

This commit is contained in:
Sam Lantinga 2024-02-02 18:24:05 -08:00
parent ba86d9f235
commit b8fe96fa81

View File

@ -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);