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

This commit is contained in:
vl 2010-05-28 20:25:14 +02:00
parent 7db7fac7b3
commit cfabb13cca

View file

@ -160,7 +160,7 @@ void CStateInstance::dumpVarsAndFunctions(CStringWriter& sw) const
sw.append("context variables:"); sw.append("context variables:");
FOREACHC(varIt, TCtxLogicVarList, _CtxLogicVar) 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:"); sw.append("callBacks:");
FOREACHC(varIt, TCallBackList, _CallBacks) FOREACHC(varIt, TCallBackList, _CallBacks)