You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Linux] Fix narrowing conversion error in 32-bit builds.
This commit is contained in:
@@ -524,7 +524,7 @@ String DirAccessUnix::get_filesystem_type() const {
|
||||
if (statfs(current_dir.utf8().get_data(), &fs) != 0) {
|
||||
return "";
|
||||
}
|
||||
switch (fs.f_type) {
|
||||
switch (static_cast<unsigned int>(fs.f_type)) {
|
||||
case 0x0000adf5:
|
||||
return "ADFS";
|
||||
case 0x0000adff:
|
||||
|
||||
Reference in New Issue
Block a user