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