Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx> --- include/libvirt/libvirt-domain.h | 4 ++-- src/libvirt-domain.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h index 12fd34037e5d..8dfcda967295 100644 --- a/include/libvirt/libvirt-domain.h +++ b/include/libvirt/libvirt-domain.h @@ -447,7 +447,7 @@ int virDomainSetSchedulerParametersFlags (virDomainPtr domain, * * Block device stats for virDomainBlockStats. * - * Hypervisors may return a field set to ((long long)-1) which indicates + * Hypervisors may return a field set to ((long long) -1) which indicates * that the hypervisor does not support that statistic. * * NB. Here 'long long' means 64 bit integer. @@ -554,7 +554,7 @@ typedef virDomainBlockStatsStruct *virDomainBlockStatsPtr; * * Network interface stats for virDomainInterfaceStats. * - * Hypervisors may return a field set to ((long long)-1) which indicates + * Hypervisors may return a field set to ((long long) -1) which indicates * that the hypervisor does not support that statistic. * * NB. Here 'long long' means 64 bit integer. diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index 2d86e48979d3..67c70e27efe7 100644 --- a/src/libvirt-domain.c +++ b/src/libvirt-domain.c @@ -1728,7 +1728,7 @@ virDomainGetID(virDomainPtr domain) virResetLastError(); - virCheckDomainReturn(domain, (unsigned int)-1); + virCheckDomainReturn(domain, (unsigned int) -1); return domain->id; } -- 2.17.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list