Fix Clang format string signness mismatch warnings

This commit is contained in:
Cameron Gutman 2018-09-15 16:00:36 -07:00
parent 7ac108f495
commit 04376ca047

View file

@ -113,14 +113,14 @@ bool SdlAudioRenderer::prepareForPlayback(const OPUS_MULTISTREAM_CONFIGURATION*
}
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
"Desired audio buffer: %d samples (%d bytes)",
"Desired audio buffer: %u samples (%lu bytes)",
want.samples,
want.samples * sizeof(short) * want.channels);
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
"Obtained audio buffer: %d samples (%d bytes)",
"Obtained audio buffer: %u samples (%u bytes)",
have.samples,
have.samples * sizeof(short) * have.channels);
have.size);
// SDL counts pending samples in the queued
// audio size using the WASAPI backend. This