summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorgson <gson@NetBSD.org>2003-12-05 06:05:53 +0000
committergson <gson@NetBSD.org>2003-12-05 06:05:53 +0000
commit9798a7bc460e5751e5f206be5e01bbcc6aeafdb4 (patch)
tree5cc3cab8dc826cf0f66cb5df9f177fe1c03d91fb /sys/dev
parent07bb045f57f7413ca9dda9315cc40c9e2551ea3d (diff)
Make the chars in the umidi_endpoint buffer unsigned; this fixes at
least one sign extension bug which caused umidi input to not work.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/umidivar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/umidivar.h b/sys/dev/usb/umidivar.h
index 74276ea64ed..7a55f9cb2be 100644
--- a/sys/dev/usb/umidivar.h
+++ b/sys/dev/usb/umidivar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: umidivar.h,v 1.6 2003/12/04 13:57:31 keihan Exp $ */
+/* $NetBSD: umidivar.h,v 1.7 2003/12/05 06:05:53 gson Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -103,7 +103,7 @@ struct umidi_endpoint {
int addr;
usbd_pipe_handle pipe;
usbd_xfer_handle xfer;
- char *buffer;
+ unsigned char *buffer;
int num_open;
int num_jacks;
struct umidi_jack *jacks[UMIDI_MAX_EPJACKS];