From 42d1e75b18ab7d7d59fecfe6e779587fc93c9859 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 17 Jun 2010 22:48:09 +0200 Subject: [PATCH] Fixed: #943 Compiling under Debian 5 (linux) 64bit --- 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 87abb6485..ecfe5e9cf 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)(size_t)(void*)varIt->second); + sw.append(" "+CStringMapper::unmap(varIt->first)+" = "+NLMISC::toStringPtr(varIt->second)); sw.append("callBacks:"); FOREACHC(varIt, TCallBackList, _CallBacks)