commit | 3d82f3819cb05630483d2a36b150bb1f1c34d7e4 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Tue Oct 01 21:52:14 2019 -0700 |
committer | Yi Kong <yikong@google.com> | Wed Oct 02 04:58:00 2019 +0000 |
tree | 684eca2d8c00aa242584f2d19104bf91daab45c1 | |
parent | c6c8d4ffd6602d2bafcc8fe1451270b02d252b4e [diff] |
Don't cast to unsigned before PERMISSION_UNINSTALLED (-1) is checked ... otherwise the check is no-op. Found by Clang tautological-constant-out-of-range-compare warning. Test: presubmit Bug: 72331526 Change-Id: Ib1abfe74198440b5b60c8c3a3cbf46bca2f5b12c