mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-22 22:12:16 +00:00
b4b0074294
fc_count is defined as uint64_t, which needs to be printed with PRIu64 (it is "llu" on x86 and "lu" on x86-64). Otherwise, building with 'CC="gcc -m32"' fails with: selinux_restorecon.c: In function ‘restorecon_sb’: selinux_restorecon.c:633:26: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=] fprintf(stdout, "\r%luk", fc_count / STAR_COUNT); ~~^ %llu Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> |
||
---|---|---|
.. | ||
include | ||
man | ||
src | ||
utils | ||
LICENSE | ||
Makefile | ||
VERSION |