Explorar o código

Fixed build warning

Sam Lantinga %!s(int64=2) %!d(string=hai) anos
pai
achega
b8fe96fa81
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/testautomation_properties.c

+ 1 - 1
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);