summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Hsin-Yi Chen <hsinyichen@google.com> 2017-07-28 11:28:52 +0800
committer Haitao Shan <hshan@google.com> 2017-08-08 15:20:09 -0700
commit7e04edd5b3f0ca9a2d8bca78d5ae70c09b623299 (patch)
tree1e33a29730604be3fa7716d695e694eacd480858 /libs/gui/ConsumerBase.cpp
parent72cce2f70a7b13b41f442b65ae80506a69415266 (diff)
Cast binder data type to uint64_t in high bits test
1. Cast fb->binder to uint64_t before shifting by 32 bits. It avoids undefined result when binder is 32-bit. 2. Swap EXPECT_EQ arguments. The first one is expected value and the second is actual value. Bug: 64118463 Test: ./binderLibTest on x86 emulator Change-Id: I4f736bd5b55db5af8598db0d5cd5fbd9ef323448
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions