]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virCPUDefParseXML: Parse uint using virXPathUInt()
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 20 May 2020 13:36:17 +0000 (15:36 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 1 Oct 2021 08:52:35 +0000 (10:52 +0200)
commit97fbb7e7e8ad0ced344742cb994f2d0dfa707a29
treeb9bad9beb25e0e782d5e87e8d4ce1738ec0f865e
parente2999909fc9c94c14d73e485d965a3c3059db83f
virCPUDefParseXML: Parse uint using virXPathUInt()

There is no need to use virXPathULong() and a temporary UL
variable if we can use virXPathUInt() directly.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/conf/cpu_conf.c