summaryrefslogtreecommitdiffstats
path: root/usr.sbin/watch
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-05-19 06:53:20 +0000
committerknu <knu@FreeBSD.org>2002-05-19 06:53:20 +0000
commit82c4e34477c8ca0b69f47f4d12a8c0b32ff631eb (patch)
treeb2073437825a28ce568ee0c5a6d226a17342d865 /usr.sbin/watch
parente1112c77a0f5e8b81f53af4f414a3ba21e3808b0 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud