diff options
Diffstat (limited to 'libs/midi++2/midi++/port.h')
-rw-r--r-- | libs/midi++2/midi++/port.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/midi++2/midi++/port.h b/libs/midi++2/midi++/port.h index a2315f7284..40a413f562 100644 --- a/libs/midi++2/midi++/port.h +++ b/libs/midi++2/midi++/port.h @@ -67,7 +67,7 @@ class Port { * @param timestamp Time stamp in frames of this message (relative to cycle start) * @return number of bytes successfully written */ - virtual int write (byte *msg, size_t msglen, timestamp_t timestamp) = 0; + virtual int write (const byte *msg, size_t msglen, timestamp_t timestamp) = 0; /** Read raw bytes from a port. * @param buf memory to store read data in |