Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 750c7f4b authored by Garfield Tan's avatar Garfield Tan
Browse files

Avoid shifting 1s into size bit.

Shifting 1 into size bit of sized integers is undefined until C++20, so
let's avoid undefined behavior.

Bug: None
Test: Event ID in systrace seems to bear correct source bits.
Change-Id: Id2ef5dc05a744476a713a111678dea966f1a5e32
parent 28f3700d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment