diff options
author | netchild <netchild@FreeBSD.org> | 2005-12-29 18:35:28 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2005-12-29 18:35:28 +0000 |
commit | 7a859bc28ab4a6cca33342f8a26392a2cffb4f61 (patch) | |
tree | 79203096a4c2cf6fef0bc03a44933b153ce66794 | |
parent | 94113937cd8ec6a904c99099a20e217f802fe49a (diff) | |
download | FreeBSD-src-7a859bc28ab4a6cca33342f8a26392a2cffb4f61.zip FreeBSD-src-7a859bc28ab4a6cca33342f8a26392a2cffb4f61.tar.gz |
Sync the type (and size, compare mousestatus_t in /usr/include/sys/mouse.h)
of a variable according to the usage (after increasing the number of max
buttons this may matter).
Noticed by: flz
-rw-r--r-- | sys/dev/usb/ums.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c index 8b2e516..b883757 100644 --- a/sys/dev/usb/ums.c +++ b/sys/dev/usb/ums.c @@ -425,7 +425,7 @@ ums_intr(xfer, addr, status) struct ums_softc *sc = addr; u_char *ibuf; int dx, dy, dz, dt; - u_char buttons = 0; + int buttons = 0; int i; #define UMS_BUT(i) ((i) < 3 ? (((i) + 2) % 3) : (i)) |