diff options
author | Eric Anholt <eric@anholt.net> | 2018-05-07 16:46:18 -0700 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-05-08 11:59:36 -0400 |
commit | 4c754b01fafc4b042d9918c05a71157f6fa6392a (patch) | |
tree | d89e41eda369a1d1c3ff044bff0a78ab89461f21 /hw/xwayland/xwayland-glamor-gbm.c | |
parent | 5e86484a183f051d7a8a67ea13c23a3d6e69e76b (diff) |
dri3: Switch get_modifiers to using stdint.
We were mixing stdint and CARD* types, causing compiler warnings on
32-bit. Just switch over to stdint, which is what we'd like the server
to be using long term, anyway.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/xwayland/xwayland-glamor-gbm.c')
-rw-r--r-- | hw/xwayland/xwayland-glamor-gbm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xwayland/xwayland-glamor-gbm.c b/hw/xwayland/xwayland-glamor-gbm.c index 4f7062599..29325adac 100644 --- a/hw/xwayland/xwayland-glamor-gbm.c +++ b/hw/xwayland/xwayland-glamor-gbm.c @@ -546,8 +546,8 @@ glamor_get_formats(ScreenPtr screen, } _X_EXPORT Bool -glamor_get_modifiers(ScreenPtr screen, CARD32 format, - CARD32 *num_modifiers, uint64_t **modifiers) +glamor_get_modifiers(ScreenPtr screen, uint32_t format, + uint32_t *num_modifiers, uint64_t **modifiers) { struct xwl_screen *xwl_screen = xwl_screen_get(screen); struct xwl_gbm_private *xwl_gbm = xwl_gbm_get(xwl_screen); |