| commit | 37e9570bce0ec5c08eab53935905f1e3a133dea2 | [log] [tgz] |
|---|---|---|
| author | Narayan Kamath <narayan@google.com> | Mon Feb 24 11:05:02 2014 +0000 |
| committer | Narayan Kamath <narayan@google.com> | Mon Feb 24 11:05:02 2014 +0000 |
| tree | cfe25aecdd5c335ea85f54a8c525f7692a110b7f | |
| parent | c6d96bb8673a4f44d84f3beaa5ed4fec1484f0ad [diff] |
Fix 64-bit build.
A warning about signed vs unsigned comparison was converted
into an error here :
...
struct stat st;
if (st.st_size > sizeof(prop_area) {
...
st_size is either an off64_t, which is a signed type. It's
worth investigating why this didn't trigger a warning on 32 bit,
where it's signed as well.
Change-Id: Ib2622bd5c444ddcfa7fb2141f00332cbb4a0818b