From c1246e8c4e2f46c05f8350acf9c34e86b81d6eca Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 14 Dec 2009 19:43:19 +0000 Subject: [PATCH] proper typecasting --- simgear/sound/soundmgr_openal.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simgear/sound/soundmgr_openal.cxx b/simgear/sound/soundmgr_openal.cxx index ea5e44db..05651b75 100644 --- a/simgear/sound/soundmgr_openal.cxx +++ b/simgear/sound/soundmgr_openal.cxx @@ -158,8 +158,8 @@ void SGSoundMgr::init(const char *devname) { else break; } - string vendor = alGetString(AL_VENDOR); - string renderer = alGetString(AL_RENDERER); + string vendor = (const char *)alGetString(AL_VENDOR); + string renderer = (const char *)alGetString(AL_RENDERER); if ( vendor != "OpenAL Community" || (renderer != "Software" && renderer != "OpenAL Sample Implementation") ) -- 2.39.5