Kaynağa Gözat

Fixed build warning

Sam Lantinga 1 yıl önce
ebeveyn
işleme
b8fe96fa81
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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);