Resolve Bundle Manager Input/Output label ambiguity
[ardour.git] / libs / midi++2 / midi.cc
index eacd85bf28c4af4d74f3fe08b5e2cebb522f9e01..7ce7ab7db317dc3f4a5dc0b1b56bf4bfecff2a71 100644 (file)
@@ -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
@@ -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) {