freebsd-dev/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 - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
moused.8 mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
moused.c Work around a code generation bug of GCC 3.1 by replacing 2002-05-19 06:53:20 +00:00