Skip to content

Fix -Wshift-count-overflow warning for clang.#316

Open
JaagupAverin wants to merge 1 commit intozephyrproject-rtos:masterfrom
JaagupAverin:fix-shift-warning
Open

Fix -Wshift-count-overflow warning for clang.#316
JaagupAverin wants to merge 1 commit intozephyrproject-rtos:masterfrom
JaagupAverin:fix-shift-warning

Conversation

@JaagupAverin
Copy link
Copy Markdown

llvm clang generates warning: warning: shift count >= width of type [-Wshift-count-overflow] when x==32, so a temporary upcast is required.

llvm clang generates warning:  warning: shift count >= width of type [-Wshift-count-overflow] when x==32, so a temporary upcast is required.
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.

1 participant