From 86e23e81b039df726407b2be1b6b4952cc8e49f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 18 Oct 2015 11:42:03 +0200 Subject: [PATCH] midi_server: fix debug build. --- src/servers/midi/MidiServerApp.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/servers/midi/MidiServerApp.cpp b/src/servers/midi/MidiServerApp.cpp index 08e679670c..ccf1eab2b6 100644 --- a/src/servers/midi/MidiServerApp.cpp +++ b/src/servers/midi/MidiServerApp.cpp @@ -725,7 +725,7 @@ MidiServerApp::_CountApps() app_t* MidiServerApp::_AppAt(int32 index) { - ASSERT(index >= 0 && index < CountApps()) + ASSERT(index >= 0 && index < _CountApps()) return (app_t*)fApps.ItemAt(index); } @@ -741,7 +741,7 @@ MidiServerApp::_CountEndpoints() endpoint_t* MidiServerApp::_EndpointAt(int32 index) { - ASSERT(index >= 0 && index < CountEndpoints()) + ASSERT(index >= 0 && index < _CountEndpoints()) return (endpoint_t*)fEndpoints.ItemAt(index); } @@ -775,7 +775,7 @@ MidiServerApp::_DumpApps() printf("*** START DumpApps\n"); for (int32 t = 0; t < _CountApps(); ++t) { - app_t* app = AppAt(t); + app_t* app = _AppAt(t); printf("\tapp %" B_PRId32 " (%p): team %" B_PRId32 "\n", t, app, app->messenger.Team()); @@ -806,8 +806,8 @@ MidiServerApp::_DumpEndpoints() endpoint->port, endpoint->latency); else { printf("\t\tconnections:\n"); - for (int32 k = 0; k < CountConnections(endpoint); ++k) { - endpoint_t* consumer = ConnectionAt(endpoint, k); + for (int32 k = 0; k < _CountConnections(endpoint); ++k) { + endpoint_t* consumer = _ConnectionAt(endpoint, k); printf("\t\t\tid %" B_PRId32 " (%p)\n", consumer->id, consumer); } }