From 780c38a5e54aa64d8e76cce1c438348cf24d95eb Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 10 Dec 2022 18:55:22 +0300 Subject: [PATCH] gl: Silence compiler warning spam --- rpcs3/Emu/RSX/GL/glutils/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }