mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
base: Fix narrowing casting for Musl
This commit is contained in:
parent
c14a7b7f59
commit
390774144a
@ -67,7 +67,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…
Reference in New Issue
Block a user