summaryrefslogtreecommitdiff
path: root/tests/sysextest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sysextest.cpp')
-rw-r--r--tests/sysextest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sysextest.cpp b/tests/sysextest.cpp
index a11ec16..68b9a0d 100644
--- a/tests/sysextest.cpp
+++ b/tests/sysextest.cpp
@@ -56,7 +56,7 @@ int main( int argc, char *argv[] )
midiout = new RtMidiOut();
midiin = new RtMidiIn();
}
- catch ( RtError &error ) {
+ catch ( RtMidiError &error ) {
error.printMessage();
goto cleanup;
}
@@ -69,7 +69,7 @@ int main( int argc, char *argv[] )
if ( chooseMidiPort( midiin ) == false ) goto cleanup;
if ( chooseMidiPort( midiout ) == false ) goto cleanup;
}
- catch ( RtError &error ) {
+ catch ( RtMidiError &error ) {
error.printMessage();
goto cleanup;
}