From 66d095e6732ed1d87152bcbca1779ef4b6cf09db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Tue, 19 Jun 2012 07:26:31 +0200 Subject: [PATCH] openvz: check pointer size instead of int since int is 4 bytes on both i386 and amd64. (cherry picked from commit 229773fcbd9a06950224600c97350c0d4e8e8701) --- src/openvz/openvz_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c index 6f0e1916ac..790440628c 100644 --- a/src/openvz/openvz_conf.c +++ b/src/openvz/openvz_conf.c @@ -154,7 +154,7 @@ virCapsPtr openvzCapsInit(void) if ((guest = virCapabilitiesAddGuest(caps, "exe", utsname.machine, - sizeof(int) == 4 ? 32 : 64, + sizeof(void*) == 4 ? 32 : 64, NULL, NULL, 0,