summary refs log tree commit diff stats
path: root/tests/test-keyval.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-11-25 14:38:45 +0100
committerLaurent Vivier <laurent@vivier.eu>2019-12-18 12:26:25 +0100
commit369276ebf3cbba419653a19a01b790f3bcf3aea7 (patch)
tree647baa5b9a4f8d05334509f2d5e7689b34211982 /tests/test-keyval.c
parentf8b345e41414504a42a55472c899e389e7dc4e2f (diff)
downloadfocaccia-qemu-369276ebf3cbba419653a19a01b790f3bcf3aea7.tar.gz
focaccia-qemu-369276ebf3cbba419653a19a01b790f3bcf3aea7.zip
util/cutils: Turn FIXME comment into QEMU_BUILD_BUG_ON()
qemu_strtoi64() assumes int64_t is long long.  This is marked FIXME.
Replace by a QEMU_BUILD_BUG_ON() to avoid surprises.

Same for qemu_strtou64().

Fix a typo in qemu_strtoul()'s contract while there.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191125133846.27790-2-armbru@redhat.com>
[lv: removed trailing whitespace]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'tests/test-keyval.c')
0 files changed, 0 insertions, 0 deletions