Index: xf86Xinput.c =================================================================== RCS file: /cvs/XF4/xc/programs/Xserver/hw/xfree86/common/xf86Xinput.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- xf86Xinput.c 15 Jan 2006 22:07:45 -0000 1.4 +++ xf86Xinput.c 3 Feb 2006 11:06:32 -0000 1.5 @@ -949,7 +949,7 @@ } } else if (dx || dy) { - mult = pow((float)(dx*dx+dy*dy), + mult = pow((float)dx*(float)dx + (float)dy*(float)dy, ((float)(device->ptrfeed->ctrl.num) / (float)(device->ptrfeed->ctrl.den) - 1.0) / 2.0) / 2.0;