]> git.proxmox.com Git - mirror_qemu.git/commit - util/cutils.c
cutils: Simplify how parse_uint() checks for whitespace
authorMarkus Armbruster <armbru@redhat.com>
Tue, 14 May 2019 18:03:11 +0000 (20:03 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 22 May 2019 13:00:04 +0000 (15:00 +0200)
commitdb3d11ee3f0cb851124830172f0a93c3d77a450a
tree063fb850fd4ac25786e28d60081ee8d5c7713050
parent33c846efa22d62ea6489371789fc9fbd11b3cd3c
cutils: Simplify how parse_uint() checks for whitespace

Use qemu_isspace() so we don't have to cast to unsigned char.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190514180311.16028-7-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
util/cutils.c