mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue