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

Fix compiler waring in lv_ll.c (#1550)

This commit is contained in:
Pete Bone 2020-06-02 12:27:36 +01:00 committed by GitHub
parent 140904e201
commit 822435748a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ void _lv_ll_init(lv_ll_t * ll_p, uint32_t node_size)
node_size = (node_size + 7) & (~0x7);
#else
/*Round the size up to 4*/
node_size = node_size + 3 & (~0x3);
node_size = (node_size + 3) & (~0x3);
#endif
ll_p->n_size = node_size;