]> git.proxmox.com Git - qemu.git/commit
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)
commitf4f0d391b26afcce86df85566788be7170127116
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