Browse Source

Fixed build warning

Sam Lantinga 1 năm trước cách đây
mục cha
commit
b8fe96fa81
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);