summaryrefslogtreecommitdiff
path: root/src/openal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/openal.c')
-rw-r--r--src/openal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openal.c b/src/openal.c
index abb10a4..847f18f 100644
--- a/src/openal.c
+++ b/src/openal.c
@@ -168,7 +168,7 @@ int PlatStartSoundSys()
attrlist[3] = AL_FALSE;
attrlist[4] = 0;
- snprintf(buf, sizeof(buf), "'( (sampling-rate %d ))\n", AvpFrequency);
+ _snprintf(buf, sizeof(buf), "'( (sampling-rate %d ))\n", AvpFrequency);
AvpSoundDevice = alcOpenDevice(buf);
if (AvpSoundDevice == NULL)