1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/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 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