mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
- mkfs.jff2: fix -Wnarrowing warning with newer compiler
This commit is contained in:
@@ -1048,7 +1048,7 @@ struct filesystem_entry *CMkfsJFFS2::recursive_add_host_directory(
|
||||
// check for spezial folders and mounted folders
|
||||
struct statfs s;
|
||||
::statfs(hostpath, &s);
|
||||
switch (s.f_type) {
|
||||
switch (static_cast<long unsigned int>(s.f_type)) {
|
||||
case 0xEF53L: /*EXT2 & EXT3*/
|
||||
case 0x6969L: /*NFS*/
|
||||
case 0xFF534D42L: /*CIFS*/
|
||||
|
Reference in New Issue
Block a user