From: ehofman Date: Mon, 14 Dec 2009 19:43:19 +0000 (+0000) Subject: proper typecasting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c1246e8c4e2f46c05f8350acf9c34e86b81d6eca;p=simgear.git proper typecasting --- 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") )