From cfabb13cca6f72316a6d76f6455447c3d61d9301 Mon Sep 17 00:00:00 2001 From: vl Date: Fri, 28 May 2010 20:25:14 +0200 Subject: [PATCH] Fixed: #847 downcast in 32b on 64b platform. --- code/ryzom/server/src/ai_service/state_instance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/server/src/ai_service/state_instance.cpp b/code/ryzom/server/src/ai_service/state_instance.cpp index 3b42902f5..87abb6485 100644 --- a/code/ryzom/server/src/ai_service/state_instance.cpp +++ b/code/ryzom/server/src/ai_service/state_instance.cpp @@ -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)