Remove an extra cast.

Thou should not apply patches manually without testing.
(cherry picked from commit a66c0f1dca)
This commit is contained in:
Matthieu Herrb 2007-08-23 22:11:56 +02:00 committed by Eric Anholt
parent a964d54128
commit 3e9ecdcb13

View file

@ -250,7 +250,7 @@ acceleratePointer(DeviceIntPtr pDev, int first_valuator, int num_valuators,
}
}
else {
mult = pow((float)((float)dx * (float)dx + (float)dy * (float)dy),
mult = pow((float)dx * (float)dx + (float)dy * (float)dy,
((float)(pDev->ptrfeed->ctrl.num) /
(float)(pDev->ptrfeed->ctrl.den) - 1.0) /
2.0) / 2.0;