Re: shlibs/blkiid/src/partitions/partitions.c build warning format %lu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 01, 2011 at 08:50:03PM +0000, Jon Grant wrote:
> e2fsprogs-1.38/lib/blkid/blkid.h:
> typedef __s64 blkid_loff_t;

 We use int64_t.

> make[4]: Entering directory
> `/home/jon/dev/util-linux/shlibs/blkid/src/partitions'
>   CC     partitions.lo
> partitions.c: In function âblkid_probe_is_covered_by_ptâ:
> partitions.c:814: warning: format â%luâ expects type âlong unsigned
> intâ, but argument 3 has type âblkid_loff_tâ
> partitions.c:814: warning: format â%luâ expects type âlong unsigned
> intâ, but argument 4 has type âblkid_loff_tâ

 fixed by PRId64 macro.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux