diff options
Diffstat (limited to 'tests/qmidiin.cpp')
| -rw-r--r-- | tests/qmidiin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qmidiin.cpp b/tests/qmidiin.cpp index de8337e..2adc03d 100644 --- a/tests/qmidiin.cpp +++ b/tests/qmidiin.cpp @@ -46,7 +46,7 @@ int main( int argc, char *argv[] ) try { midiin = new RtMidiIn(); } - catch ( RtError &error ) { + catch ( RtMidiError &error ) { error.printMessage(); exit( EXIT_FAILURE ); } @@ -64,7 +64,7 @@ int main( int argc, char *argv[] ) try { midiin->openPort( port ); } - catch ( RtError &error ) { + catch ( RtMidiError &error ) { error.printMessage(); goto cleanup; } |
