mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
c90f1b3297
commit
70b4f4bb05
5 changed files with 10 additions and 10 deletions
|
@ -4162,7 +4162,7 @@ static const mon_cmd_t *monitor_parse_command(Monitor *mon,
|
|||
break;
|
||||
case 'o':
|
||||
{
|
||||
ssize_t val;
|
||||
int64_t val;
|
||||
char *end;
|
||||
|
||||
while (qemu_isspace(*p)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue