提交 229773fc 编写于 作者: G Guido Günther

openvz: check pointer size instead of int

since int is 4 bytes on both i386 and amd64.
上级 d1778b71
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册