diff options
author | n_hibma <n_hibma@FreeBSD.org> | 1999-01-10 18:42:54 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 1999-01-10 18:42:54 +0000 |
commit | 910aa44d3b83a9b8499aa367bb1117572d1390d6 (patch) | |
tree | 8a044a96be7b26512d809593ab4478a2285e6ae4 /sys/dev/usb/hid.c | |
parent | 2850284f098bcd5c582370a3b4b97dbba890d7bf (diff) | |
download | FreeBSD-src-910aa44d3b83a9b8499aa367bb1117572d1390d6.zip FreeBSD-src-910aa44d3b83a9b8499aa367bb1117572d1390d6.tar.gz |
Sync with NetBSD sources. Almost there. Mostly style fixes.
Diffstat (limited to 'sys/dev/usb/hid.c')
-rw-r--r-- | sys/dev/usb/hid.c | 6 |
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); } |