projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
attempt to be compliant with gcc 4.6 (assuming that its more compliant with standards...
[ardour.git]
/
libs
/
midi++2
/
midi.cc
diff --git
a/libs/midi++2/midi.cc
b/libs/midi++2/midi.cc
index f612b4707af1fe0c5cf2075b05308fe424b08213..6b5bca8a98bc870d2f92e6772e2e76bef00cd797 100644
(file)
--- a/
libs/midi++2/midi.cc
+++ b/
libs/midi++2/midi.cc
@@
-18,11
+18,9
@@
$Id$
*/
$Id$
*/
-#include <cstring>
-#include <string>
#include <cstring>
#include <cstdlib>
#include <cstring>
#include <cstdlib>
-#include
<midi++/types.h>
+#include
"midi++/types.h"
const char *MIDI::controller_names[] = {
"bank (0)",
const char *MIDI::controller_names[] = {
"bank (0)",
@@
-160,7
+158,7
@@
MIDI::byte
MIDI::decode_controller_name (const char *name)
{
MIDI::decode_controller_name (const char *name)
{
- char *lparen;
+ c
onst c
har *lparen;
size_t len;
if ((lparen = strrchr (name, '(')) != 0) {
size_t len;
if ((lparen = strrchr (name, '(')) != 0) {