summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pixman/pixman/pixman-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pixman/pixman/pixman-ppc.c b/lib/pixman/pixman/pixman-ppc.c
index 2d6576fc4..601f1df12 100644
--- a/lib/pixman/pixman/pixman-ppc.c
+++ b/lib/pixman/pixman/pixman-ppc.c
@@ -58,7 +58,7 @@ pixman_have_vmx (void)
{
int mib[2] = { CTL_MACHDEP, CPU_ALTIVEC };
int error, have_vmx;
- size_t length = size_t(have_vmx);
+ size_t length = sizeof(have_vmx);
error = sysctl (mib, 2, &have_vmx, &length, NULL, 0);