Files
qemu/qapi
Andreas Färber f743f4496e string-input-visitor: Fix uint64 parsing
All integers would get parsed by strtoll(), not handling the case of
UINT64 properties with the most significient bit set.

Implement a .type_uint64 visitor callback, reusing the existing
parse_str() code through a new argument, using strtoull().

As this is a bug fix, it intentionally ignores checkpatch warnings to
prefer the use of qemu_strto[u]ll() over strto[u]ll().

Cc: qemu-stable@nongnu.org
Signed-off-by: Andreas Färber <afaerber@suse.de>
[BR: define qemu_strtoll and qemu_strtoull and use to avoid checkpatch
error. Grr}
Signed-off-by: Bruce Rogers <brogers@suse.com>
2021-03-12 11:16:09 -07:00
..
2018-11-01 12:12:58 +04:00
2018-05-23 14:30:51 +02:00
2018-08-30 16:08:47 +02:00
2018-01-29 14:22:50 -05:00