From 2ae5a0704a1b43e25cf8c7a6e7202bf0280965e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 7 Jun 2023 14:57:51 +0200 Subject: [PATCH] X11: Fix vformat ambiguous int types for GCC 10 (again) --- platform/linuxbsd/x11/display_server_x11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linuxbsd/x11/display_server_x11.cpp b/platform/linuxbsd/x11/display_server_x11.cpp index fa35340ebb3..eada0bf29e8 100644 --- a/platform/linuxbsd/x11/display_server_x11.cpp +++ b/platform/linuxbsd/x11/display_server_x11.cpp @@ -869,7 +869,7 @@ int default_window_error_handler(Display *display, XErrorEvent *error) { "\n Major opcode of failed request: %d" "\n Serial number of failed request: %d" "\n Current serial number in output stream: %d", - String::utf8(message), error->request_code, error->minor_code, error->serial)); + String::utf8(message), (uint64_t)error->request_code, (uint64_t)error->minor_code, (uint64_t)error->serial)); return 0; }