Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
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