[PATCH 28/29] libvirt-domain: Add spaces after casts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux