Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Fix ambiguous `PHYSICS_INTERPOLATION_WARNING` parameter

lawnjellycb82125b298b
diff --git a/core/error/error_macros.h b/core/error/error_macros.h
index 84c6e37421f..c43d64cf4b2 100644
--- a/core/error/error_macros.h
+++ b/core/error/error_macros.h
@@ -874,4 +874,4 @@ void _physics_interpolation_warning(const char *p_function, const char *p_file,
_physics_interpolation_warning(FUNCTION_STR, __FILE__, __LINE__, m_object_id, m_string)
#define PHYSICS_INTERPOLATION_WARNING(m_string) \
- _physics_interpolation_warning(FUNCTION_STR, __FILE__, __LINE__, ObjectID(UINT64_MAX), m_string)
+ _physics_interpolation_warning(FUNCTION_STR, __FILE__, __LINE__, ObjectID((uint64_t)UINT64_MAX), m_string)