diff options
author | Alex Deymo <deymo@google.com> | 2016-02-16 18:46:24 -0800 |
---|---|---|
committer | Alex Deymo <deymo@google.com> | 2016-02-16 19:54:23 -0800 |
commit | 5fe0c4ede81b82ae3425ddbbb698eceef14cbc78 (patch) | |
tree | 714dd53fc41a36b0989d28fbad2153e9dcd47f6a /common/subprocess_unittest.cc | |
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
Diffstat (limited to 'common/subprocess_unittest.cc')
0 files changed, 0 insertions, 0 deletions