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

This commit is contained in:
vl 2010-05-28 20:25:14 +02:00
parent 8d4516ec21
commit 0427edb31e

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)