mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
mkfs.jff2: fix -Wnarrowing warning with newer compiler
Origin commit data
------------------
Commit: 3524bd7c82
Author: GetAway <get-away@t-online.de>
Date: 2022-05-26 (Thu, 26 May 2022)
Origin message was:
------------------
- mkfs.jff2: fix -Wnarrowing warning with newer compiler
This commit is contained in:
@@ -1052,7 +1052,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