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

Skip to content
Commit e5d85962 authored by Mitch Phillips's avatar Mitch Phillips
Browse files

fix integer promotion in logging.

Integer promotion rules say that bitfields where all values can be
represented in an int, get promoted to an int. Thus, the computation of
these values in the multiplication is of base integer type.

Compiling this library with debug asserts enabled (-UNDEBUG) currently
fails as the format specifier is expecting long unsigned, and is
provided an int.

Bug: 160324350
Test: Build with -UNDEBUG.
Change-Id: Ia8ab23d2cc6716fe87a36317b1a857981459c207
parent 99f85854
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