summaryrefslogtreecommitdiff
path: root/src/cpu/testers/networktest/networktest.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/testers/networktest/networktest.hh')
-rw-r--r--src/cpu/testers/networktest/networktest.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/testers/networktest/networktest.hh b/src/cpu/testers/networktest/networktest.hh
index 76119e678..253b48233 100644
--- a/src/cpu/testers/networktest/networktest.hh
+++ b/src/cpu/testers/networktest/networktest.hh
@@ -54,8 +54,8 @@ class NetworkTest : public MemObject
// main simulation loop (one cycle)
void tick();
- virtual MasterPort &getMasterPort(const std::string &if_name,
- int idx = -1);
+ virtual BaseMasterPort &getMasterPort(const std::string &if_name,
+ PortID idx = InvalidPortID);
/**
* Print state of address in memory system via PrintReq (for