diff options
author | Simon Howard | 2014-03-30 20:21:25 -0400 |
---|---|---|
committer | Simon Howard | 2014-03-30 20:21:25 -0400 |
commit | cb16b45086bd3fcfdd7040c7fbed4f08d14537ac (patch) | |
tree | 9c9a6404891be35511e96fef6bc6b6b6de7a1070 | |
parent | 2ea8fd11ec5da77ba66b24c0c2cbee892e803904 (diff) | |
download | chocolate-doom-cb16b45086bd3fcfdd7040c7fbed4f08d14537ac.tar.gz chocolate-doom-cb16b45086bd3fcfdd7040c7fbed4f08d14537ac.tar.bz2 chocolate-doom-cb16b45086bd3fcfdd7040c7fbed4f08d14537ac.zip |
sound: Fix compile when using libsamplerate.
The change in commit 62b5c6028.. broke the compile.
-rw-r--r-- | src/i_sdlsound.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |