diff --git a/ryzom/server/src/ai_service/script_vm.cpp b/ryzom/server/src/ai_service/script_vm.cpp index 243110520..e69135e87 100644 --- a/ryzom/server/src/ai_service/script_vm.cpp +++ b/ryzom/server/src/ai_service/script_vm.cpp @@ -991,7 +991,7 @@ void CScriptVM::interpretCode( { float val = (float&)stack.top(); stack.pop(); - compValue = *((size_t*)&val); + compValue = *((uint32*)&val); } break; default: