commit cb16b45086bd3fcfdd7040c7fbed4f08d14537ac
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Mar 30 20:21:25 2014 -0400
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Sun Mar 30 20:21:25 2014 -0400
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);