Fix a integer overflow issue
Alpha of 0xff resulted in RGB_8TO16(0xff) == 0x10000. This was cast to uint8_t which resulted in alpha being set to 0. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
388ef61158
commit
b38881b123
Loading…
Reference in New Issue