More Linux build fixes

This commit is contained in:
Siana Gearz
2011-12-25 04:28:17 +01:00
parent 2f5caa27fd
commit 2c8e3bb0a3
3 changed files with 4 additions and 39 deletions

View File

@@ -120,7 +120,7 @@ void LLFloaterPostProcess::onControlChanged(LLUICtrl* ctrl, void* userData)
S32 elem=0;
if(sscanf(VariableName,"%255[^[][%d]", buf, &elem) == 2)
{
LLPostProcess::getInstance()->tweaks[buf][elem] = ctrl->getValue();
LLPostProcess::getInstance()->tweaks[(const char*)buf][elem] = ctrl->getValue();
}
else
{