From: Daniel Vetter Date: Wed, 11 Mar 2015 07:26:23 +0000 (+0100) Subject: drm/fourcc: 64 #defines need ULL postfix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8c4f83fb1e8bf317e894f62d17a63c32b7a6b75e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/fourcc: 64 #defines need ULL postfix I have no idea about the exact rules, but this angered Dave's 32bit rhel gcc. Reported-by: Dave Airlie Signed-off-by: Daniel Vetter --- diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index e6efac23c7ea..07735822a28f 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h @@ -151,7 +151,7 @@ /* add more to the end as needed */ #define fourcc_mod_code(vendor, val) \ - ((((u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffL)) + ((((u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL)) /* * Format Modifier tokens: