Fixed: #847 downcast in 32b on 64b platform.

This commit is contained in:
vl 2010-05-28 20:25:14 +02:00
parent 140adc8f50
commit 6747a4b6f7

View file

@ -160,7 +160,7 @@ void CStateInstance::dumpVarsAndFunctions(CStringWriter& sw) const
sw.append("context variables:");
FOREACHC(varIt, TCtxLogicVarList, _CtxLogicVar)
sw.append(" "+CStringMapper::unmap(varIt->first)+" = "+(int)(void*)varIt->second);
sw.append(" "+CStringMapper::unmap(varIt->first)+" = "+(int)(size_t)(void*)varIt->second);
sw.append("callBacks:");
FOREACHC(varIt, TCallBackList, _CallBacks)