Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Make the chars in the umidi_endpoint buffer unsi...
details: https://anonhg.NetBSD.org/src/rev/2b13961d78ac
branches: trunk
changeset: 555972:2b13961d78ac
user: gson <gson%NetBSD.org@localhost>
date: Fri Dec 05 06:05:53 2003 +0000
description:
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:
sys/dev/usb/umidivar.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ab889e4e078e -r 2b13961d78ac sys/dev/usb/umidivar.h
--- a/sys/dev/usb/umidivar.h Fri Dec 05 06:01:59 2003 +0000
+++ b/sys/dev/usb/umidivar.h Fri Dec 05 06:05:53 2003 +0000
@@ -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 @@
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];
Home |
Main Index |
Thread Index |
Old Index