aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xfree86/parser/Pointer.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-30 19:15:38 +0000
committermarha <marha@users.sourceforge.net>2011-03-30 19:15:38 +0000
commit140242b0d4aed1d595d6565d088d9567c456d6b4 (patch)
tree2be8f8ce7a66c32ad440af80a236c071c01f5880 /xorg-server/hw/xfree86/parser/Pointer.c
parentaee5cfef9a419ee2845d66b0c31e476880bea663 (diff)
downloadvcxsrv-140242b0d4aed1d595d6565d088d9567c456d6b4.tar.gz
vcxsrv-140242b0d4aed1d595d6565d088d9567c456d6b4.tar.bz2
vcxsrv-140242b0d4aed1d595d6565d088d9567c456d6b4.zip
xserver mesa git update 30 Mar 2011
Diffstat (limited to 'xorg-server/hw/xfree86/parser/Pointer.c')
-rw-r--r--xorg-server/hw/xfree86/parser/Pointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xfree86/parser/Pointer.c b/xorg-server/hw/xfree86/parser/Pointer.c
index 5e4db442e..a7ee3f213 100644
--- a/xorg-server/hw/xfree86/parser/Pointer.c
+++ b/xorg-server/hw/xfree86/parser/Pointer.c
@@ -189,7 +189,7 @@ xf86parsePointerSection (void)
if (xf86getSubToken (&(ptr->inp_comment)) != NUMBER || val.num < 0) {
Error (ZAXISMAPPING_MSG, NULL);
}
- if (asprintf(&s, "%ul %ul", val1, val.num) == -1)
+ if (asprintf(&s, "%lu %u", val1, val.num) == -1)
s = NULL;
break;
case XAXIS: