Single fix for uapi. * tag 'topic/drm-fixes-2015-11-11' of git://anongit.freedesktop.org/drm-intel: drm: Use userspace compatible type in fourcc_mod_code macro
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -158,7 +158,7 @@ · 157 unmodified lines | |||
| 158 | /* add more to the end as needed */ | 158 | /* add more to the end as needed */ |
| 159 | 159 | ||
| 160 | #define fourcc_mod_code(vendor, val) \ | 160 | #define fourcc_mod_code(vendor, val) \ |
| 161 | ((((u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL)) | 161 | ((((__u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL)) |
| 162 | 162 | ||
| 163 | /* | 163 | /* |
| 164 | * Format Modifier tokens: | 164 | * Format Modifier tokens: |