diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-29 01:31:56 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-29 01:31:56 +0000 |
commit | 4c978075d7f012cadd189cd269509a8e0e0c403a (patch) | |
tree | ec70fc874e212aef4da323137e6a9522cb00514b /hxtool | |
parent | 081501daceca74d2091e798d5dcd342c14d66d1a (diff) |
fix format string warnings in block-qcow2.c (Christoph Hellwig)
Recent patches added two compiler warnings about the format string
usage in qcow_read_extensions. One is printing a uint64_t using
%lu which is incorrect on many platforms as it can be a unsigned
long long, the second one is printing the result of sizeof as
%lu, but it is a size_t so it needs to be printed using %zu.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6944 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hxtool')
0 files changed, 0 insertions, 0 deletions