Package: unionfs
Version: 1.0.13-1
Severity: serious

Hi,

Your package is failing to build on 64 bit arches with the
following error:
gcc -o unionimap -luuid unionimap.c usercommon.c -I. -g -O2 -Wall -Werror   -DU
NIONFS_VERSION=\"1.0.13\"
cc1: warnings being treated as errors
unionimap.c: In function 'print_forwardmap':
unionimap.c:247: warning: format '%-22llu' expects type 'long long unsigned int
', but argument 5 has type 'uint64_t'
unionimap.c: In function 'print_reversemap':
unionimap.c:296: warning: format '%-22llu' expects type 'long long unsigned int
', but argument 4 has type 'uint64_t'
make[1]: *** [unionimap] Error 1

An int64_t is ussually defined as a long and not a long long.

What you should do is include <inttypes.h> (C99) and use:
"%-22" PRIu64 "\n", val

PRIu64 should then get replaced by "llu" or "lu" depending on the arch.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to