Explorar el Código

Fixed warning C4245: 'initializing': conversion from 'int' to 'SDL_AudioDeviceID', signed/unsigned mismatch

Sam Lantinga hace 1 año
padre
commit
9989f92eee
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/testautomation_audio.c

+ 1 - 1
test/testautomation_audio.c

@@ -54,7 +54,7 @@ static void SDLCALL audio_testCallback(void *userdata, Uint8 *stream, int len)
 }
 #endif
 
-static SDL_AudioDeviceID g_audio_id = -1;
+static SDL_AudioDeviceID g_audio_id = 0;
 
 /* Test case functions */