Commit 88858d32 authored by Lucas Stach's avatar Lucas Stach Committed by Rob Clark

common: use %llx to print modifier

Use long long format when printing the format modifier, as a simple
long is only 4 bytes on 32bit systems.
Signed-off-by: 's avatarLucas Stach <>
Signed-off-by: 's avatarRob Clark <>
parent a46366c9
...@@ -73,7 +73,7 @@ struct drm_fb * drm_fb_get_from_bo(struct gbm_bo *bo) ...@@ -73,7 +73,7 @@ struct drm_fb * drm_fb_get_from_bo(struct gbm_bo *bo)
if (modifiers[0]) { if (modifiers[0]) {
printf("Using modifier %lx\n", modifiers[0]); printf("Using modifier %llx\n", modifiers[0]);
} }
ret = drmModeAddFB2WithModifiers(drm_fd, width, height, ret = drmModeAddFB2WithModifiers(drm_fd, width, height,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment