From 1d1c4e1ef431f1fc8bad2d9516bffa4d92b38d06 Mon Sep 17 00:00:00 2001 From: tma Date: Sat, 19 Aug 2006 14:40:24 +0000 Subject: * Compiler warning fix git-svn-id: svn://svn.icculus.org/quake3/trunk@855 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/snd_openal.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'code/client') 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; -- cgit v1.2.3