[PATCH 13/29] openvz: Add spaces after casts

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

 



Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
 src/openvz/openvz_driver.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/openvz/openvz_driver.c b/src/openvz/openvz_driver.c
index c10d6df6633b..fd2f072557f4 100644
--- a/src/openvz/openvz_driver.c
+++ b/src/openvz/openvz_driver.c
@@ -548,7 +548,7 @@ static char *openvzDomainGetXMLDesc(virDomainPtr dom, unsigned int flags) {
  * key value. This lets us declare the argv on the
  * stack and just splice in the domain name after
  */
-#define PROGRAM_SENTINEL ((char *)0x1)
+#define PROGRAM_SENTINEL ((char *) 0x1)
 static void openvzSetProgramSentinal(const char **prog, const char *key)
 {
     const char **tmp = prog;
@@ -1579,7 +1579,7 @@ Version: 2.2
             /* convert jiffies to nanoseconds */
             *cpuTime = (1000ull * 1000ull * 1000ull
                         * (usertime + nicetime  + systime)
-                        / (unsigned long long)sysconf(_SC_CLK_TCK));
+                        / (unsigned long long) sysconf(_SC_CLK_TCK));
             break;
         }
     }
-- 
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