Bug#567167: format '%llu' expects type 'long long unsigned int', but argument 2 has type '__u64'
Neil Brown
neilb at suse.de
Wed Jan 27 22:05:26 UTC 2010
On Thu, 28 Jan 2010 08:13:46 +1300
martin f krafft <madduck at debian.org> wrote:
> Package: mdadm
> Version: 3.1.1-1
> Severity: serious
> Justification: no longer builds from source on certain architectures
> Tags: upstream confirmed
> Forwarded: neilb at suse.de
>
> -Wall -Werror -Wstrict-prototypes -ggdb -fomit-frame-pointer -Os -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/tmp/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm.conf\" -DDEBIAN -c -o Grow.o Grow.c
> cc1: warnings being treated as errors
> Grow.c: In function 'validate':
> Grow.c:1443: error: format '%llu' expects type 'long long unsigned int', but argument 2 has type '__u64'
> make[2]: *** [Grow.o] Error 1
>
> This was reported bu ia64 and alpha autobuilders thus far.
>
> Neil, this is definitely outside of my domain. I think I would try
> to solve this with an explicit cast to llui, but that might not be
> what we want at all. Hence I am leaving it to you.
>
Thanks.
Those prints are really just for debugging, so the best thing to do is remove
them. Were we to keep the, a cast to (unsigned long long) would be the right
way to go.
I cave committed and pushed a patch to fix this.
Thanks,
NeilBrown
More information about the pkg-mdadm-devel
mailing list