diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-11 03:26:23 -0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-17 17:30:18 -0400 |
| commit | 8c4f83fb1e8bf317e894f62d17a63c32b7a6b75e (patch) | |
| tree | c06c4d5400e0d4a33b8d0728ceebcf18e1f1065e /include/uapi/drm | |
| parent | c9f038a1a5924352ab8e510e4a45ac57b08db391 (diff) | |
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 <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/uapi/drm')
| -rw-r--r-- | include/uapi/drm/drm_fourcc.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
| 151 | /* add more to the end as needed */ | 151 | /* add more to the end as needed */ |
| 152 | 152 | ||
| 153 | #define fourcc_mod_code(vendor, val) \ | 153 | #define fourcc_mod_code(vendor, val) \ |
| 154 | ((((u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffL)) | 154 | ((((u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL)) |
| 155 | 155 | ||
| 156 | /* | 156 | /* |
| 157 | * Format Modifier tokens: | 157 | * Format Modifier tokens: |
