summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/hid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/hid.c')
-rw-r--r--sys/dev/usb/hid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/hid.c b/sys/dev/usb/hid.c
index b03f749..ea04a05 100644
--- a/sys/dev/usb/hid.c
+++ b/sys/dev/usb/hid.c
@@ -1,5 +1,5 @@
-/* $NetBSD: hid.c,v 1.5 1998/12/26 12:53:00 augustss Exp $ */
-/* FreeBSD $Id$ */
+/* $NetBSD: hid.c,v 1.7 1999/01/08 11:58:25 augustss Exp $ */
+/* FreeBSD $Id: hid.c,v 1.5 1999/01/07 23:31:29 n_hibma Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -103,7 +103,7 @@ hid_start_parse(d, len, kindset)
s = malloc(sizeof *s, M_TEMP, M_WAITOK);
memset(s, 0, sizeof *s);
s->start = s->p = d;
- s->end = d + len;
+ s->end = (char *)d + len;
s->kindset = kindset;
return (s);
}
OpenPOWER on IntegriCloud