Skip to content

Commit

Permalink
fix function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
vlazzarini committed Dec 21, 2017
1 parent 08525c3 commit edf5270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bela/BelaCsound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ int CloseMidiOutDevice(CSOUND *csound, void *userData) {
}

int WriteMidiData(CSOUND *csound, void *userData,
unsigned char *mbuf, int nbytes) {
const unsigned char *mbuf, int nbytes) {
if(userData) {
Midi *midi = (Midi *) userData;
if(midi->writeOutput(mbuf, nbytes) > 0) return nbytes;
Expand Down

0 comments on commit edf5270

Please sign in to comment.