Fix a couple compiler warnings

This commit is contained in:
Cameron Gutman committed 2020-03-18 22:46:32 -07:00
1 parent 953858b0e7
commit fe6a1244ed
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ bool SdlAudioRenderer::prepareForPlayback(const OPUS_MULTISTREAM_CONFIGURATION*
}
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
"Desired audio buffer: %u samples (%lu bytes)",
"Desired audio buffer: %u samples (%zu bytes)",
want.samples,
want.samples * sizeof(short) * want.channels);