mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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>
This commit is contained in:
parent
e66866c542
commit
e6e9cff2dc
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ enum csc_type_t {
|
|||
|
||||
struct dp_csc_param_t {
|
||||
int mode;
|
||||
void *coeff;
|
||||
const int (*coeff)[5][3];
|
||||
};
|
||||
|
||||
#define SYNC_WAVE 0
|
||||
|
|
Loading…
Add table
Reference in a new issue