summaryrefslogtreecommitdiff
path: root/muse2/muse/mpevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/mpevent.cpp')
-rw-r--r--muse2/muse/mpevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/mpevent.cpp b/muse2/muse/mpevent.cpp
index 2b7ce5eb..9988c12b 100644
--- a/muse2/muse/mpevent.cpp
+++ b/muse2/muse/mpevent.cpp
@@ -74,7 +74,7 @@ void MEvent::dump() const
printf("time:%d port:%d chan:%d ", _time, _port, _channel+1);
if (_type == 0x90) { // NoteOn
QString s = pitch2string(_a);
- printf("NoteOn %s(0x%x) %d\n", s.latin1(), _a, _b);
+ printf("NoteOn %s(0x%x) %d\n", s.toLatin1().constData(), _a, _b);
}
else if (_type == 0xf0) {
printf("SysEx len %d 0x%0x ...\n", len(), data()[0]);