freebsd_amp_hwpstate/usr.sbin/moused
Akinori MUSHA 8f810e50da Work around a code generation bug of GCC 3.1 by replacing
`/2' with `>>1'.  In the context `>>1' is more appropriate
because it looks like the division is used to restore a
shifted value.

GCC GNATS PR:	c/6677

This fixes a problem where wheel-up movement is taken as wheel-down
in the sysmouse protocol.

Do not assume the plain char's are signed; use `signed char' where
char's need to be signed.

Discussed on:	audit
Pointed out by:	bde
2002-05-19 06:53:20 +00:00
..
Makefile
moused.8
moused.c Work around a code generation bug of GCC 3.1 by replacing 2002-05-19 06:53:20 +00:00