commit | b26e4944e2a5bf4b7e33fa38fb17a3b76c7fe0f7 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Mon Feb 24 11:14:07 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Feb 24 11:14:08 2014 +0000 |
tree | cfe25aecdd5c335ea85f54a8c525f7692a110b7f | |
parent | c6d96bb8673a4f44d84f3beaa5ed4fec1484f0ad [diff] | |
parent | 37e9570bce0ec5c08eab53935905f1e3a133dea2 [diff] |
Merge "Fix 64-bit build."
diff --git a/libc/bionic/system_properties.cpp b/libc/bionic/system_properties.cpp index 7c2f8dc..56f3724 100644 --- a/libc/bionic/system_properties.cpp +++ b/libc/bionic/system_properties.cpp
@@ -238,7 +238,7 @@ if ((fd_stat.st_uid != 0) || (fd_stat.st_gid != 0) || ((fd_stat.st_mode & (S_IWGRP | S_IWOTH)) != 0) - || (fd_stat.st_size < sizeof(prop_area)) ) { + || (fd_stat.st_size < static_cast<off_t>(sizeof(prop_area))) ) { return -1; }