summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Mitch Phillips <mitchp@google.com> 2020-07-01 10:10:21 -0700
committer Mitch Phillips <mitchp@google.com> 2020-07-01 11:41:31 -0700
commite5d85962e3310171863e8ca2f5838880e3cc3342 (patch)
treea0ffa599e47d861ecb29f3c8bb8b3fdadb12be7a /opengl/libagl/array.cpp
parent99f85854bcc84a70cba5d62c14afc0823f94d527 (diff)
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
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions