
14 May
2025
14 May
'25
2:42 p.m.
On Wed, May 14, 2025 at 16:24:14 +0200, Michal Privoznik via Devel wrote:
From: Michal Privoznik <mprivozn@redhat.com>
The virNetDevVlanEqual() function is declared to return an int but in fact its return type is a boolean. Even its only caller (qemuDomainChangeNet()) threads its retval as a boolean. Switch
treats
the return type from integer to boolean.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> --- src/util/virnetdevvlan.c | 2 +- src/util/virnetdevvlan.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Peter Krempa <pkrempa@redhat.com>