audio: Fixed compiler warnings.
1.1 --- a/src/audio/SDL_audio.c Tue Dec 06 02:23:54 2016 -0500
1.2 +++ b/src/audio/SDL_audio.c Tue Dec 06 12:23:17 2016 -0500
1.3 @@ -510,11 +510,11 @@
1.4 /* Nothing to do unless we're set up for queueing. */
1.5 if (device->spec.callback == SDL_BufferQueueDrainCallback) {
1.6 current_audio.impl.LockDevice(device);
1.7 - retval = SDL_CountDataQueue(device->buffer_queue) + current_audio.impl.GetPendingBytes(device);
1.8 + retval = ((Uint32) SDL_CountDataQueue(device->buffer_queue)) + current_audio.impl.GetPendingBytes(device);
1.9 current_audio.impl.UnlockDevice(device);
1.10 } else if (device->spec.callback == SDL_BufferQueueFillCallback) {
1.11 current_audio.impl.LockDevice(device);
1.12 - retval = SDL_CountDataQueue(device->buffer_queue);
1.13 + retval = (Uint32) SDL_CountDataQueue(device->buffer_queue);
1.14 current_audio.impl.UnlockDevice(device);
1.15 }
1.16