You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(uint32_t)LV_ABS((int16_t)act_opt - sel_opt) should be changed to (uint32_t)LV_ABS((int16_t)(act_opt - sel_opt)), or you will meet the compilation "error C4146: unary minus operator applied to unsigned type, result still unsigned" when you compiling LVGL with MSVC toolchain.
Kenji Mouri
The text was updated successfully, but these errors were encountered:
MouriNaruto
added a commit
to lvgl/lv_port_pc_visual_studio
that referenced
this issue
Sep 27, 2023
I found an issue when I update the LVGL git submodule for the LVGL for Visual Studio project.
lvgl/src/widgets/roller/lv_roller.c
Line 184 in 9c437d1
(uint32_t)LV_ABS((int16_t)act_opt - sel_opt)
should be changed to(uint32_t)LV_ABS((int16_t)(act_opt - sel_opt))
, or you will meet the compilation "error C4146: unary minus operator applied to unsigned type, result still unsigned" when you compiling LVGL with MSVC toolchain.Kenji Mouri
The text was updated successfully, but these errors were encountered: