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

Merge pull request #1496 from ValentiWorkLearning/dev-7.0

Fixed implicit casting from void* in lv_imgbuf.h
This commit is contained in:
Gabor Kiss-Vamosi 2020-05-13 14:19:55 +02:00 committed by GitHub
commit 0f8513bf77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -275,7 +275,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;