commit | 5fe0c4ede81b82ae3425ddbbb698eceef14cbc78 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Tue Feb 16 18:46:24 2016 -0800 |
committer | Alex Deymo <deymo@google.com> | Tue Feb 16 19:54:23 2016 -0800 |
tree | 714dd53fc41a36b0989d28fbad2153e9dcd47f6a | |
parent | 80f70ff45f8ea9a679c0c3ed0dc143dd2fe2b63e [diff] |
Fix unittest build in x86_64. Some size_t values (generally resulting from X.size() calls) were compared to off_t values (such as utils::FileSize()) which resulted in a compile error on x86_64 targets. This patch fixes those issues with explicit casts in the unittests since the range of the expected values is small enough. Bug: 26955860 TEST=`mma` on edison-eng and brilloemulator_x86_64-eng. Change-Id: I2d09d356e1b97ab6527b17596fe20d425da6d519