commit | 1b1f1b14eef5f73a82c1bb7cefd63ded5a9f6ebb | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Tue Dec 22 13:01:05 2015 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Tue Dec 22 13:44:56 2015 -0800 |
tree | b4678b62f31f924565d2abbca193452a8db5e7ba | |
parent | c1f9e7c4875e791e108c79382508aab8d171f25f [diff] |
AAPT2: Fix compiler error in 32-bit host test We now default host native tests to build both 32-bit and 64-bit versions. The 32-bit version of libaapt2_test was broken because it was comparing an unsigned int to the result from std::count(std::vector), which is a signed int. The 64-bit version compiled fine, since std::count(std::vector) returns a long. Change-Id: I786fcd8a54d9f78b76b19ef82ab8dda6f5c42197