aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-08-19 14:40:24 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-08-19 14:40:24 +0000
commit1d1c4e1ef431f1fc8bad2d9516bffa4d92b38d06 (patch)
tree9add00f6214a487e70cb769e67254d6fb7e6806c /code/client
parentd507371424fee6064d31edd46c735d5d491e8ff1 (diff)
downloadioquake3-aero-1d1c4e1ef431f1fc8bad2d9516bffa4d92b38d06.tar.gz
ioquake3-aero-1d1c4e1ef431f1fc8bad2d9516bffa4d92b38d06.zip
* Compiler warning fix
git-svn-id: svn://svn.icculus.org/quake3/trunk@855 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r--code/client/snd_openal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/code/client/snd_openal.c b/code/client/snd_openal.c
index 54f446d..6d644e1 100644
--- a/code/client/snd_openal.c
+++ b/code/client/snd_openal.c
@@ -1747,8 +1747,9 @@ qboolean S_AL_Init( soundInterface_t *si )
// Device enumeration support (extension currently only exists for windows).
if((enumsupport = qalcIsExtensionPresent(NULL, "ALC_ENUMERATION_EXT")))
{
- char *devicelist, devicenames[1024] = "";
- char *defaultdevice;
+ char devicenames[1024] = "";
+ const ALCchar *devicelist;
+ const ALCchar *defaultdevice;
int curlen;
qboolean hasbegun = qfalse;