diff options
author | Charles Tsai <charles_tsai@htc.com> | 2015-05-20 18:16:48 +0800 |
---|---|---|
committer | Charles Tsai <charles_tsai@htc.com> | 2015-06-04 17:14:03 +0800 |
commit | cdaaeeec0dadbe38ed069da0eb4b1532cd620f3f (patch) | |
tree | 5778386461e2372aaac331c76dfe8a67f44dfa19 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | bf17375e5e6195122ee24295cf05f012822711ec (diff) |
Fix overflow/underflow problem in comparison
Here's overflow/underflow problem in comparators.
"when1 - when2" may suffer in overflow/underflow condition.
Comparing them directly can avoid this problem.
Change-Id: Id46af3db2adac90654210182d26ade1986ee0661
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions