summaryrefslogtreecommitdiff
path: root/xserver
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2023-09-08 05:44:28 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2023-09-08 05:44:28 +0000
commitf8144284ad4417f58a64275b811e4cacfa8c53fc (patch)
tree72e2cc0d08e5791ddd45a19c6959474c809f208d /xserver
parent8dd2b5ebf315fa54dbaff11742c3ed2beaeaff0b (diff)
Revert previous:
unbreak build with clang-16 by fixing up function definitions to match the whole CARD64 vs uint64_t issue needs more thinking. Suggested by kettenis@
Diffstat (limited to 'xserver')
-rw-r--r--xserver/glamor/glamor.h2
-rw-r--r--xserver/glamor/glamor_egl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/xserver/glamor/glamor.h b/xserver/glamor/glamor.h
index 220160cf7..31157471d 100644
--- a/xserver/glamor/glamor.h
+++ b/xserver/glamor/glamor.h
@@ -276,7 +276,7 @@ extern _X_EXPORT PixmapPtr glamor_pixmap_from_fds(ScreenPtr screen,
const CARD32 *offsets,
CARD8 depth,
CARD8 bpp,
- CARD64 modifier);
+ uint64_t modifier);
/* @glamor_pixmap_from_fd: Creates a pixmap to wrap a dma-buf fd.
*
diff --git a/xserver/glamor/glamor_egl.c b/xserver/glamor/glamor_egl.c
index 4832d068a..8028add63 100644
--- a/xserver/glamor/glamor_egl.c
+++ b/xserver/glamor/glamor_egl.c
@@ -552,7 +552,7 @@ glamor_pixmap_from_fds(ScreenPtr screen,
CARD16 width, CARD16 height,
const CARD32 *strides, const CARD32 *offsets,
CARD8 depth, CARD8 bpp,
- CARD64 modifier)
+ uint64_t modifier)
{
PixmapPtr pixmap;
struct glamor_egl_screen_private *glamor_egl;