Re: [PATCH 1/5] virCPUDefParseXML: Parse uint using virXPathUInt()

2021-09-30 Thread Peter Krempa
On Tue, Sep 21, 2021 at 16:50:27 +0200, Michal Privoznik wrote: > There is no need to use virXPathULong() and a temporary UL > variable if we can use virXPathUInt() directly. > > Signed-off-by: Michal Privoznik > --- > src/conf/cpu_conf.c | 14 -- > 1 file changed, 4 insertions(+),

[PATCH 1/5] virCPUDefParseXML: Parse uint using virXPathUInt()

2021-09-21 Thread Michal Privoznik
There is no need to use virXPathULong() and a temporary UL variable if we can use virXPathUInt() directly. Signed-off-by: Michal Privoznik --- src/conf/cpu_conf.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/conf/cpu_conf.c b/src/conf/cpu_conf.c index