diff options
| author | Nick Hibma <n_hibma@FreeBSD.org> | 2000-05-14 16:59:31 +0000 |
|---|---|---|
| committer | Nick Hibma <n_hibma@FreeBSD.org> | 2000-05-14 16:59:31 +0000 |
| commit | dd90ae7a872da23d70f28f944b9daa09be1bea7e (patch) | |
| tree | e77771e19ac441ca518fc94b1485ef9ca4c6e388 /sys/dev/usb | |
| parent | 128aa3af3cf3648926a569ad04964e4308be431a (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/hid.c | 8 | ||||
| -rw-r--r-- | sys/dev/usb/hid.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/hid.c b/sys/dev/usb/hid.c index 6946ddb123aa..b061f2b24f5e 100644 --- a/sys/dev/usb/hid.c +++ b/sys/dev/usb/hid.c @@ -1,4 +1,4 @@ -/* $NetBSD: hid.c,v 1.13 2000/03/27 12:33:53 augustss Exp $ */ +/* $NetBSD: hid.c,v 1.15 2000/04/27 15:26:46 augustss Exp $ */ /* $FreeBSD$ */ /* @@ -126,7 +126,7 @@ hid_get_item(s, h) { struct hid_item *c = &s->cur; unsigned int bTag, bType, bSize; - struct hid_location oldloc; + u_int32_t oldpos; u_char *data; int32_t dval; u_char *p; @@ -300,9 +300,9 @@ hid_get_item(s, h) break; case 11: /* Pop */ hi = c->next; - oldloc = c->loc; + oldpos = c->loc.pos; s->cur = *hi; - c->loc = oldloc; + c->loc.pos = oldpos; free(hi, M_TEMP); break; default: diff --git a/sys/dev/usb/hid.h b/sys/dev/usb/hid.h index 620cbf85ef8a..5953ce54607f 100644 --- a/sys/dev/usb/hid.h +++ b/sys/dev/usb/hid.h @@ -1,4 +1,4 @@ -/* $NetBSD: hid.h,v 1.2 1998/07/24 20:57:46 augustss Exp $ */ +/* $NetBSD: hid.h,v 1.5 2000/04/27 15:26:46 augustss Exp $ */ /* $FreeBSD$ */ /* |
