Re: [Qemu-devel] [PATCH] qcow2: Fix signedness bugs

2010-02-10 Thread Anthony Liguori
On 02/02/2010 08:20 AM, Kevin Wolf wrote: Checking for return codes< 0 isn't really going to work with unsigned types. Use signed types instead. Signed-off-by: Kevin Wolf Applied. Thanks. Regards, Anthony Liguori --- block/qcow2-cluster.c | 12 ++-- block/qcow2.h

Re: [Qemu-devel] [PATCH] qcow2: Fix signedness bugs

2010-02-03 Thread Markus Armbruster
Kevin Wolf writes: > Checking for return codes < 0 isn't really going to work with unsigned > types. Use signed types instead. Makes sense to me.

[Qemu-devel] [PATCH] qcow2: Fix signedness bugs

2010-02-02 Thread Kevin Wolf
Checking for return codes < 0 isn't really going to work with unsigned types. Use signed types instead. Signed-off-by: Kevin Wolf --- block/qcow2-cluster.c | 12 ++-- block/qcow2.h |6 ++ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/block/qcow2-cluste