Skip to content

Commit 80b39cd

Browse files
committed
[Linux] Fix narrowing conversion error in 32-bit builds.
1 parent 7c472e6 commit 80b39cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/unix/dir_access_unix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ String DirAccessUnix::get_filesystem_type() const {
524524
if (statfs(current_dir.utf8().get_data(), &fs) != 0) {
525525
return "";
526526
}
527-
switch (fs.f_type) {
527+
switch (static_cast<unsigned int>(fs.f_type)) {
528528
case 0x0000adf5:
529529
return "ADFS";
530530
case 0x0000adff:

0 commit comments

Comments
 (0)