diff options
Diffstat (limited to 'tests/midiout.cpp')
| -rw-r--r-- | tests/midiout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/midiout.cpp b/tests/midiout.cpp index 4da65c1..0a9b9fd 100644 --- a/tests/midiout.cpp +++ b/tests/midiout.cpp @@ -33,7 +33,7 @@ int main( int argc, char *argv[] ) try { midiout = new RtMidiOut(); } - catch ( RtError &error ) { + catch ( RtMidiError &error ) { error.printMessage(); exit( EXIT_FAILURE ); } @@ -42,7 +42,7 @@ int main( int argc, char *argv[] ) try { if ( chooseMidiPort( midiout ) == false ) goto cleanup; } - catch ( RtError &error ) { + catch ( RtMidiError &error ) { error.printMessage(); goto cleanup; } |
