Skip to content

Commit

Permalink
fixed GCC42 error: IPlugAU.cpp:1339/1437 expected unqualified-id befo…
Browse files Browse the repository at this point in the history
…re ';' token

Signed-off-by: Oli Larkin <[email protected]>
  • Loading branch information
olilarkin committed Mar 17, 2011
1 parent 242087f commit cee091d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WDL/IPlug/IPlugAU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1336,15 +1336,15 @@ IPlugAU::BusChannels* IPlugAU::GetBus(AudioUnitScope scope, AudioUnitElement bus
void IPlugAU::ClearConnections()
{
int nInBuses = mInBuses.GetSize();
for (int i = 0,; i < nInBuses; ++i) {
for (int i = 0; i < nInBuses; ++i) {
BusChannels* pInBus = mInBuses.Get(i);
pInBus->mConnected = false;
pInBus->mNHostChannels = -1;
InputBusConnection* pInBusConn = mInBusConnections.Get(i);
memset(pInBusConn, 0, sizeof(InputBusConnection));
}
int nOutBuses = mOutBuses.GetSize();
for (int i = 0,; i < nOutBuses; ++i) {
for (int i = 0; i < nOutBuses; ++i) {
BusChannels* pOutBus = mOutBuses.Get(i);
pOutBus->mConnected = false;
pOutBus->mNHostChannels = -1;
Expand Down

0 comments on commit cee091d

Please sign in to comment.