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:
Stefan Seyfried
2015-12-28 16:21:58 +01:00
parent d2244886e1
commit 086a651a70

View File

@@ -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;
}