Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2018 08:59:20 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339583 - head/sys/dev/sound/midi
Message-ID:  <201810220859.w9M8xKr2039120@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Mon Oct 22 08:59:20 2018
New Revision: 339583
URL: https://svnweb.freebsd.org/changeset/base/339583

Log:
  The event bytes should be unsigned char.
  
  Found by:		Peter Holm <peter@holm.cc>
  MFC after:		3 days
  Sponsored by:		Mellanox Technologies

Modified:
  head/sys/dev/sound/midi/sequencer.c

Modified: head/sys/dev/sound/midi/sequencer.c
==============================================================================
--- head/sys/dev/sound/midi/sequencer.c	Mon Oct 22 08:58:27 2018	(r339582)
+++ head/sys/dev/sound/midi/sequencer.c	Mon Oct 22 08:59:20 2018	(r339583)
@@ -434,7 +434,7 @@ static void
 seq_eventthread(void *arg)
 {
 	struct seq_softc *scp = arg;
-	char event[EV_SZ];
+	u_char event[EV_SZ];
 
 	mtx_lock(&scp->seq_lock);
 	SEQ_DEBUG(2, printf("seq_eventthread started\n"));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810220859.w9M8xKr2039120>