diff options
author | Hsin-Yi Chen <hsinyichen@google.com> | 2017-07-28 11:28:52 +0800 |
---|---|---|
committer | Hsin-Yi Chen <hsinyichen@google.com> | 2017-08-11 10:24:58 +0800 |
commit | ad6503cf91e1ef0e3c1595e143ab9e11f0da5530 (patch) | |
tree | 586d63d75067bf4c8a745be1d6db90b36f7fc2cc /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 8f93ab17f91be9c170f946540fb82cd71d792891 (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
(cherry picked from commit 41eaab40d6d5372c03824ea441c5c8346fe6e7ac)
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions