1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

Fixed implicit casting from void* in lv_imgbuf.h

This commit is contained in:
Valentyn Korniienko 2020-05-13 14:58:57 +03:00 committed by VKorniienko
parent 79329bdb45
commit 74a0b0dab2

View File

@ -276,7 +276,7 @@ bool _lv_img_buf_transform_anti_alias(lv_img_transform_dsc_t * dsc);
*/
static inline bool lv_img_buf_transform(lv_img_transform_dsc_t * dsc, lv_coord_t x, lv_coord_t y)
{
const uint8_t * src_u8 = dsc->cfg.src;
const uint8_t * src_u8 = (const uint8_t*)dsc->cfg.src;
/*Get the target point relative coordinates to the pivot*/
int32_t xt = x - dsc->cfg.pivot_x;