commit | f69c334dea6acdf47a90efb06bf14e67e0e803cf | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Thu Aug 29 19:03:36 2019 -0700 |
committer | Yi Kong <yikong@google.com> | Fri Aug 30 02:09:30 2019 +0000 |
tree | cee489bc13f8aed1214344db08b8e6c4380a1b4b | |
parent | c53985fc51a64346e0a3eb71779b1bbd0b67605b [diff] |
Fix reversed logic To check if a value falls in a range, it should be a >= MIN && a <= MAX instead of a >= MIN || a <= MAX Found by an experimental Clang warning change, https://reviews.llvm.org/D66044. Test: presubmit Change-Id: I91e2a04687285d9311fd831197c73af38ec8379c