Searched hist:e6e9cff2dc0e9c526951119c13fd093d2f8101ce (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | ipu_disp.c | e6e9cff2dc0e9c526951119c13fd093d2f8101ce Tue Jun 17 17:20:27 UTC 2014 Jeroen Hofstee <jeroen@myspectrum.nl> video: ipu_disp: squash clang warning
Since rgb2ycbcr_coeff and friends are declared const, but assigned to a void pointer, clang will warn that the const is implicity casted away. If the pointer is changed to void const * gcc will warn when it is implicitly casted to a const int array. Just add a correctly typed pointer instead to prevent these casts and hence the warnings.
Cc: Troy Kisky <troy.kisky@boundarydevices.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
|