projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9f038a
)
drm/fourcc: 64 #defines need ULL postfix
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 11 Mar 2015 07:26:23 +0000
(08:26 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 17 Mar 2015 21:30:18 +0000
(22:30 +0100)
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>
include/uapi/drm/drm_fourcc.h
patch
|
blob
|
history
diff --git
a/include/uapi/drm/drm_fourcc.h
b/include/uapi/drm/drm_fourcc.h
index e6efac23c7ea350ba868c04b358306d01976c8c3..07735822a28fa792ecf0acdd07443d2dd3160670 100644
(file)
--- 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 & 0x00ffffffffffffff
UL
L))
/*
* Format Modifier tokens: