diff options
author | Stephen Hines <srhines@google.com> | 2017-01-23 17:22:47 -0800 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2017-01-23 17:26:30 -0800 |
commit | b45857ebc5cc15c8920be6b9b0c2c70e0707572c (patch) | |
tree | c1f86185185ccd6053cb9c64465dba6eb5751c66 /renderscript/1.0/default/Device.cpp | |
parent | 13387baf267a4f74996c7172f8178fb6d4eb0a52 (diff) |
Fix some ordered comparisons with zero for pointers.
Bug: http://b/31532493
The latest clang will trigger an error diagnostic "ordered comparison
between pointer and zero ..." when you do something like "p > 0". This
change replaces the ordered comparisons with proper checks instead.
Test: Validated with latest toolchain.
Change-Id: I4a127fe2551688c8176bdd31210cf7f2f40baeba
Diffstat (limited to 'renderscript/1.0/default/Device.cpp')
0 files changed, 0 insertions, 0 deletions