X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fmidi%2B%2B2%2Fmidi.cc;h=7ce7ab7db317dc3f4a5dc0b1b56bf4bfecff2a71;hb=5eacf424b6cd5d68e1d5d25e587a46ea7df905ce;hp=7c2dc835fb3fbf5347d4d5bd2257064f939abfaf;hpb=d09f6b3016bacbc2871a8946cbb24ad705076509;p=ardour.git diff --git a/libs/midi++2/midi.cc b/libs/midi++2/midi.cc index 7c2dc835fb..7ce7ab7db3 100644 --- a/libs/midi++2/midi.cc +++ b/libs/midi++2/midi.cc @@ -1,6 +1,6 @@ /* Copyright (C) 1998 Paul Barton-Davis - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -18,9 +18,9 @@ $Id$ */ -#include +#include #include -#include +#include "midi++/types.h" const char *MIDI::controller_names[] = { "bank (0)", @@ -154,11 +154,11 @@ const char *MIDI::controller_names[] = { 0 }; -MIDI::byte +MIDI::byte MIDI::decode_controller_name (const char *name) { - char *lparen; + const char *lparen; size_t len; if ((lparen = strrchr (name, '(')) != 0) {