summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-11-29 16:46:11 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-11-29 16:46:11 +0000
commitbb71173d515c7c1b99ed8138ef6f7dbcbf3e208e (patch)
treeeba0c3a370ac2102c0a7c36bd216081db0ac4679
parent7d1373c2cdc20529565f4351bbd364ebf9157036 (diff)
fix botched file. I managed to commit a file with a typo.
-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);