fix possible overflow in wav resampling. now it doesn't shit itself when loading large wavs.

This commit is contained in:
StapleButter 2018-12-14 05:52:36 +01:00
parent c0c115a0ee
commit 46bc2dba33
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ void MicLoadWav(char* name)
if (!SDL_LoadWAV(name, &format, &buf, &len))
return;
const int dstfreq = 44100;
const u64 dstfreq = 44100;
if (format.format == AUDIO_S16 || format.format == AUDIO_U16)
{