Make it compile again when AUDIO_DEBUG is turned on ... in sequencesread
and sequencerwrite were two debug messages that had a type conflict in the printf. I put in a (int) to solve it.
This commit is contained in:
parent
c50eb8cc85
commit
cd44f820c2
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sequencer.c,v 1.15 2000/03/23 07:01:27 thorpej Exp $ */
|
||||
/* $NetBSD: sequencer.c,v 1.16 2001/09/03 14:52:29 reinoud Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -396,7 +396,7 @@ sequencerread(dev, uio, ioflag)
|
|||
int error, s;
|
||||
|
||||
DPRINTFN(20, ("sequencerread: %p, count=%d, ioflag=%x\n",
|
||||
sc, uio->uio_resid, ioflag));
|
||||
sc, (int) uio->uio_resid, ioflag));
|
||||
|
||||
if (sc->mode == SEQ_OLD) {
|
||||
DPRINTFN(-1,("sequencerread: old read\n"));
|
||||
|
@ -434,7 +434,7 @@ sequencerwrite(dev, uio, ioflag)
|
|||
seq_event_rec cmdbuf;
|
||||
int size;
|
||||
|
||||
DPRINTFN(2, ("sequencerwrite: %p, count=%d\n", sc, uio->uio_resid));
|
||||
DPRINTFN(2, ("sequencerwrite: %p, count=%d\n", sc, (int) uio->uio_resid));
|
||||
|
||||
error = 0;
|
||||
size = sc->mode == SEQ_NEW ? sizeof cmdbuf : SEQOLD_CMDSIZE;
|
||||
|
|
Loading…
Reference in New Issue