Codebase list kmscube / 88858d3
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: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Rob Clark <robdclark@gmail.com> Lucas Stach authored 7 years ago Rob Clark committed 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7272
7373 if (modifiers[0]) {
7474 flags = DRM_MODE_FB_MODIFIERS;
75 printf("Using modifier %lx\n", modifiers[0]);
75 printf("Using modifier %llx\n", modifiers[0]);
7676 }
7777
7878 ret = drmModeAddFB2WithModifiers(drm_fd, width, height,