Răsfoiți Sursa

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

Sam Lantinga 1 an în urmă
părinte
comite
9989f92eee
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 */