diff options
Diffstat (limited to 'comm/testbus.cc')
-rw-r--r-- | comm/testbus.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comm/testbus.cc b/comm/testbus.cc index 6edeaec..3de72b2 100644 --- a/comm/testbus.cc +++ b/comm/testbus.cc @@ -57,7 +57,7 @@ the bus. Most applications are not interested in such events... void agentready (IvlEvent& ev) { - IvlAgentEvent* ae = dynamic_cast<IvlAgentEvent*> (&ev); + IvlBusAgentEvent* ae = dynamic_cast<IvlBusAgentEvent*> (&ev); if (!ae) return; @@ -74,7 +74,7 @@ the bus. Most applications are not interested in such events... void agentbye (IvlEvent& ev) { - IvlAgentEvent* ae = dynamic_cast<IvlAgentEvent*> (&ev); + IvlBusAgentEvent* ae = dynamic_cast<IvlBusAgentEvent*> (&ev); if (!ae) return; IvlBusAgent* a = ae->GetAgent (); |