summaryrefslogtreecommitdiff
path: root/src/openal.c
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2008-05-09 02:11:36 -0700
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commite9788e390d5fe0e326a39762a04c628111bc0e84 (patch)
tree65175f0dfe53aa821efad1bd47cb70df2416458a /src/openal.c
parentc51b91cfe79a1ffd5da3f6a6ce202982cdfcdf85 (diff)
Windows WIP.
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)