mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-07 11:17:16 +00:00
base: Fix narrowing casting for Musl
This commit is contained in:
parent
18c1ac9982
commit
49e1be1ae8
1 changed files with 1 additions and 1 deletions
|
@ -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<int>(stats.f_type)) {
|
||||
case TMPFS_MAGIC:
|
||||
case static_cast<int>(HUGETLBFS_MAGIC):
|
||||
case static_cast<int>(RAMFS_MAGIC):
|
||||
|
|
Loading…
Add table
Reference in a new issue