am 9b823726: am b26e4944: Merge "Fix 64-bit build."

* commit '9b82372626092139e8ee09d6bdb4da798af38ced':
  Fix 64-bit build.
This commit is contained in:
Narayan Kamath
2014-02-24 14:32:18 +00:00
committed by Android Git Automerger

View File

@@ -238,7 +238,7 @@ static int map_fd_ro(const int fd) {
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;
}