]> xenbits.xensource.com Git - libvirt.git/commit
virNodeDevCapsDefParseHexId: Use 'virXPathUIntBase'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 5 Oct 2022 07:24:26 +0000 (09:24 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 2 Nov 2022 08:20:57 +0000 (09:20 +0100)
commit8989b3a54de997f59281aef90ae4a4660ef0d077
tree762ae8f6316c8d53d5cfbb33595a05a2fed5404a
parent7160805e76509ca5c237609031fb034a38418799
virNodeDevCapsDefParseHexId: Use 'virXPathUIntBase'

Switch to the proper function for parsing integer variant of a hex
number via XPath and spell out properly that the argument is 'unsigned
int'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/node_device_conf.c