diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-23 11:27:19 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-23 11:27:28 +0200 |
| commit | 9dc286967fec1f902daedd2376bb0dbbd422a4af (patch) | |
| tree | 6eeaf37de9a4b11ede1e493ce7c1ef2e2957dda7 /platform/linuxbsd | |
| parent | d5c1b9f883adbb54900c145eafcaa789d0fd563c (diff) | |
| download | redot-engine-9dc286967fec1f902daedd2376bb0dbbd422a4af.tar.gz | |
X11: Fix vformat ambiguous int types for GCC 10
The build would fail with GCC 10 from our Linux SDK used for official builds.
Diffstat (limited to 'platform/linuxbsd')
| -rw-r--r-- | platform/linuxbsd/x11/display_server_x11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/x11/display_server_x11.cpp b/platform/linuxbsd/x11/display_server_x11.cpp index 8ec7be97c6..507acfcf34 100644 --- a/platform/linuxbsd/x11/display_server_x11.cpp +++ b/platform/linuxbsd/x11/display_server_x11.cpp @@ -1296,7 +1296,7 @@ Ref<Image> DisplayServerX11::screen_get_image(int p_screen) const { } } else { XFree(image); - ERR_FAIL_V_MSG(Ref<Image>(), vformat("XImage with RGB mask %x %x %x and depth %d is not supported.", image->red_mask, image->green_mask, image->blue_mask, image->bits_per_pixel)); + ERR_FAIL_V_MSG(Ref<Image>(), vformat("XImage with RGB mask %x %x %x and depth %d is not supported.", (uint64_t)image->red_mask, (uint64_t)image->green_mask, (uint64_t)image->blue_mask, (int64_t)image->bits_per_pixel)); } img = Image::create_from_data(width, height, false, Image::FORMAT_RGBA8, img_data); XFree(image); |
