openvz: check pointer size instead of int

since int is 4 bytes on both i386 and amd64.
This commit is contained in:
Guido Günther 2012-06-19 07:26:31 +02:00
parent d1778b7148
commit 229773fcbd

View File

@ -195,7 +195,7 @@ virCapsPtr openvzCapsInit(void)
if ((guest = virCapabilitiesAddGuest(caps,
"exe",
utsname.machine,
sizeof(int) == 4 ? 32 : 64,
sizeof(void*) == 4 ? 32 : 64,
NULL,
NULL,
0,