[PATCH 18/43] util: xml: Reimplement virXPath(U)Int via virXPathEvalString

Ján Tomko jtomko at redhat.com
Tue Nov 1 16:59:24 UTC 2022


On a Monday in 2022, Peter Krempa wrote:
>Similarly to the refactor of virXPath(U)LongLong drop the ability to
>convert from the internal double value forcing the use of the 'string()'
>conversion.
>
>In case of 32 bit integers there's no problem with overflows, but we can
>implement the code identically to what we have in the other helpers.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/util/virxml.c | 38 ++++++++++++++++++++------------------
> 1 file changed, 20 insertions(+), 18 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list