Merge pull request #77957 from akien-mga/x11-fix-vformat-gcc10

X11: Fix vformat ambiguous int types for GCC 10 (again)
This commit is contained in:
Rémi Verschelde 2023-06-07 16:06:56 +02:00
commit a69730f49d
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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;
}