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

Skip to content
Commit 4931894f authored by Ivan Lozano's avatar Ivan Lozano
Browse files

Fix overflow sanitizer in EffectVisualizer.

This makes an implicit conversion to a signed integer explicit before
the unsigned integer overflow happens. This was causing runtime errors
on integer sanitized builds.

 runtime error: unsigned integer overflow: 1664 - 4096 cannot be
 represented in type 'unsigned int'

Bug: 30969751
Test: Compiles.
Change-Id: I1d4b5ab024e94c19ff448110064340125cd01e01
Merged-In: I1d4b5ab024e94c19ff448110064340125cd01e01
parent 240201e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment