summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2014-03-30 20:21:25 -0400
committerSimon Howard2014-03-30 20:21:25 -0400
commitcb16b45086bd3fcfdd7040c7fbed4f08d14537ac (patch)
tree9c9a6404891be35511e96fef6bc6b6b6de7a1070 /src
parent2ea8fd11ec5da77ba66b24c0c2cbee892e803904 (diff)
downloadchocolate-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.
Diffstat (limited to 'src')
-rw-r--r--src/i_sdlsound.c2
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);