From cb16b45086bd3fcfdd7040c7fbed4f08d14537ac Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 30 Mar 2014 20:21:25 -0400 Subject: sound: Fix compile when using libsamplerate. The change in commit 62b5c6028.. broke the compile. --- src/i_sdlsound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i_sdlsound.c b/src/i_sdlsound.c index 70c360aa..299a3ff4 100644 --- a/src/i_sdlsound.c +++ b/src/i_sdlsound.c @@ -767,7 +767,7 @@ static void I_SDL_PrecacheSounds(sfxinfo_t *sounds, int num_sounds) fflush(stdout); } - GetSfxLumpName(&sounds[i], namebuf, sizeof(buf)); + GetSfxLumpName(&sounds[i], namebuf, sizeof(namebuf)); sounds[i].lumpnum = W_CheckNumForName(namebuf); -- cgit v1.2.3