diff options
Diffstat (limited to 'drm-common.c')
-rw-r--r-- | drm-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drm-common.c b/drm-common.c index fb4ec7f..4b55745 100644 --- a/drm-common.c +++ b/drm-common.c @@ -22,6 +22,7 @@ */ #include <errno.h> +#include <inttypes.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> @@ -73,7 +74,7 @@ struct drm_fb * drm_fb_get_from_bo(struct gbm_bo *bo) if (modifiers[0]) { flags = DRM_MODE_FB_MODIFIERS; - printf("Using modifier %llx\n", modifiers[0]); + printf("Using modifier %" PRIx64 "\n", modifiers[0]); } ret = drmModeAddFB2WithModifiers(drm_fd, width, height, |