commit | 70b4f4bb05ff5e6812c6593eeefbd19bd61b517d | [log] [tgz] |
---|---|---|
author | Jes Sorensen <Jes.Sorensen@redhat.com> | Wed Jan 05 11:41:02 2011 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon Jan 24 11:08:50 2011 +0100 |
tree | 6f3cf4350dfb31281f93954c43363442cc3527ee | |
parent | c90f1b3297943f2f142d8114bef1092f9ac9acef [diff] [blame] |
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>
diff --git a/monitor.c b/monitor.c index d291158..0cda3da 100644 --- a/monitor.c +++ b/monitor.c
@@ -4162,7 +4162,7 @@ break; case 'o': { - ssize_t val; + int64_t val; char *end; while (qemu_isspace(*p)) {