Fix Error: src/cscaledbitmap.cxx:456:26: error: result of comparison of constant 256 with expression of type 'uint8_t' (aka 'unsigned char') is always true
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
8554db0b5e
commit
1f78f8a9c6
@ -433,7 +433,7 @@ bool CScaledBitmap::scaleColor(FAR const struct rgbcolor_s &incolor1,
|
||||
FAR const struct rgbcolor_s &incolor2,
|
||||
b16_t fraction, FAR struct rgbcolor_s &outcolor)
|
||||
{
|
||||
uint8_t component;
|
||||
uint32_t component;
|
||||
b16_t red;
|
||||
b16_t green;
|
||||
b16_t blue;
|
||||
|
Loading…
Reference in New Issue
Block a user