Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c4f83fb authored by Daniel Vetter's avatar Daniel Vetter
Browse files

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: default avatarDave Airlie <airlied@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent c9f038a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: