]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
Make strtosz() return int64_t instead of ssize_t
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 5 Jan 2011 10:41:02 +0000 (11:41 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 24 Jan 2011 10:08:50 +0000 (11:08 +0100)
commit70b4f4bb05ff5e6812c6593eeefbd19bd61b517d
tree6f3cf4350dfb31281f93954c43363442cc3527ee
parentc90f1b3297943f2f142d8114bef1092f9ac9acef
Make strtosz() return int64_t instead of ssize_t

strtosz() needs to return a 64 bit type even on 32 bit
architectures. Otherwise qemu-img will fail to create disk
images >= 2GB

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
cutils.c
monitor.c
qemu-common.h
qemu-img.c
vl.c