Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(area): Use unsigned integer literal for bit shifing. #2888

Merged
merged 1 commit into from Dec 16, 2021

Conversation

jakobvukalovic
Copy link
Contributor

@jakobvukalovic jakobvukalovic commented Dec 10, 2021

Fixes hicpp-signed-bitwise error.

Description of the feature or fix

Use unsigned integer literals for _LV_COORD_TYPE_SHIFT to silence clang-tidy error about using signed integer to perform bitshift operations (hicpp-signed-bitwise).

Checkpoints

  • Follow the styling guide
  • Run code-format.py from the scripts folder. astyle needs to be installed.
  • Update the documentation

Fixes hicpp-signed-bitwise error.
@kisvegabor
Copy link
Member

Thanks!

@kisvegabor kisvegabor merged commit 5eb11dc into lvgl:master Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants