diff --git a/src/base/system/sys_info_posix.cc b/src/base/system/sys_info_posix.cc index dbf9947723..f6926b0bc8 100644 --- a/src/base/system/sys_info_posix.cc +++ b/src/base/system/sys_info_posix.cc @@ -62,7 +62,7 @@ bool IsStatsZeroIfUnlimited(const base::FilePath& path) { if (HANDLE_EINTR(statfs(path.value().c_str(), &stats)) != 0) return false; - switch (stats.f_type) { + switch (static_cast(stats.f_type)) { case TMPFS_MAGIC: case static_cast(HUGETLBFS_MAGIC): case static_cast(RAMFS_MAGIC):