diff options
author | knu <knu@FreeBSD.org> | 2002-05-19 06:53:20 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-05-19 06:53:20 +0000 |
commit | 82c4e34477c8ca0b69f47f4d12a8c0b32ff631eb (patch) | |
tree | b2073437825a28ce568ee0c5a6d226a17342d865 /usr.sbin/watch | |
parent | e1112c77a0f5e8b81f53af4f414a3ba21e3808b0 (diff) | |
download | FreeBSD-src-82c4e34477c8ca0b69f47f4d12a8c0b32ff631eb.zip FreeBSD-src-82c4e34477c8ca0b69f47f4d12a8c0b32ff631eb.tar.gz |
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
Diffstat (limited to 'usr.sbin/watch')
0 files changed, 0 insertions, 0 deletions