summaryrefslogtreecommitdiff
path: root/src/sim/system.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/system.hh')
-rw-r--r--src/sim/system.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/system.hh b/src/sim/system.hh
index e1c30490b..ab88160e2 100644
--- a/src/sim/system.hh
+++ b/src/sim/system.hh
@@ -89,7 +89,7 @@ class System : public SimObject
std::vector<ThreadContext *> threadContexts;
int _numContexts;
- ThreadContext *getThreadContext(int tid)
+ ThreadContext *getThreadContext(ThreadID tid)
{
return threadContexts[tid];
}