summaryrefslogtreecommitdiff
path: root/dri3
diff options
context:
space:
mode:
Diffstat (limited to 'dri3')
-rw-r--r--dri3/dri3.h6
-rw-r--r--dri3/dri3_screen.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/dri3/dri3.h b/dri3/dri3.h
index db3f9cd23..30433dc4f 100644
--- a/dri3/dri3.h
+++ b/dri3/dri3.h
@@ -75,9 +75,9 @@ typedef int (*dri3_get_formats_proc) (ScreenPtr screen,
CARD32 **formats);
typedef int (*dri3_get_modifiers_proc) (ScreenPtr screen,
- CARD32 format,
- CARD32 *num_modifiers,
- CARD64 **modifiers);
+ uint32_t format,
+ uint32_t *num_modifiers,
+ uint64_t **modifiers);
typedef int (*dri3_get_drawable_modifiers_proc) (DrawablePtr draw,
uint32_t format,
diff --git a/dri3/dri3_screen.c b/dri3/dri3_screen.c
index 80db96130..a900f261d 100644
--- a/dri3/dri3_screen.c
+++ b/dri3/dri3_screen.c
@@ -160,8 +160,8 @@ cache_formats_and_modifiers(ScreenPtr screen)
const dri3_screen_info_rec *info = ds->info;
CARD32 num_formats;
CARD32 *formats;
- CARD32 num_modifiers;
- CARD64 *modifiers;
+ uint32_t num_modifiers;
+ uint64_t *modifiers;
int i;
if (ds->formats_cached)