qcow2: Fix signedness bugs
authorKevin Wolf <kwolf@redhat.com>
Tue, 2 Feb 2010 14:20:57 +0000 (15:20 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Feb 2010 17:56:57 +0000 (11:56 -0600)
commit23c98857f88914feeec501a9faf04629e38f0b8d
treebb2d572543f24e5dd830cb7bad19c17100fc8dd6
parenta2cb777c3c25b7b500cebf06bd81b166d127bfce
qcow2: Fix signedness bugs

Checking for return codes < 0 isn't really going to work with unsigned
types. Use signed types instead.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block/qcow2-cluster.c
block/qcow2.h