mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
helpers: fix printf type warning
There is no portable way to do this without a cast, and since
64bit filesystem magic numbers exist, cast to an at least 64bit
sized type (unsigned long long).
Origin commit data
------------------
Branch: ni/coolstream
Commit: be8db2598f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-12-28 (Mon, 28 Dec 2015)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -285,7 +285,7 @@ int check_dir(const char * dir, bool allow_tmp)
|
||||
ret = 0; // ok
|
||||
}
|
||||
if(ret == -1)
|
||||
printf("Wrong Filessystem Type: 0x%" PRIx32"\n",s.f_type);
|
||||
printf("Wrong Filessystem Type: 0x%llx\n", (unsigned long long)s.f_type);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user