diff --git a/rpcs3/Emu/RSX/GL/glutils/common.h b/rpcs3/Emu/RSX/GL/glutils/common.h index 9c4cf18f19..dc7a11e761 100644 --- a/rpcs3/Emu/RSX/GL/glutils/common.h +++ b/rpcs3/Emu/RSX/GL/glutils/common.h @@ -74,6 +74,6 @@ namespace gl // Very useful util when capturing traces with RenderDoc static inline void push_debug_label(const char* label) { - glInsertEventMarkerEXT(strlen(label), label); + glInsertEventMarkerEXT(static_cast(strlen(label)), label); } }