Re: [Qemu-devel] [PATCH 2/6] block: Use correct width in format strings

2014-04-29 Thread Stefan Weil
Am 29.04.2014 19:03, schrieb Max Reitz: > Instead of blindly relying on a normal integer having a width of 32 bits > (which is a pretty good assumption, but we should not rely on it if > there is no need), use the correct format string macros. > The old code would only fail on platforms with size

[Qemu-devel] [PATCH 2/6] block: Use correct width in format strings

2014-04-29 Thread Max Reitz
Instead of blindly relying on a normal integer having a width of 32 bits (which is a pretty good assumption, but we should not rely on it if there is no need), use the correct format string macros. This does not touch DEBUG output. Signed-off-by: Max Reitz --- block/cow.c | 2 +- block/dm