소스 검색

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

Sam Lantinga 1 년 전
부모
커밋
9989f92eee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 */