From 47877cf2dbd6ee2f1cf9b2c609d37b0589e876ca Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 26 May 2009 09:23:13 -0700 Subject: types: add a type for thread IDs and try to use it everywhere --- src/sim/system.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sim/system.hh') 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 threadContexts; int _numContexts; - ThreadContext *getThreadContext(int tid) + ThreadContext *getThreadContext(ThreadID tid) { return threadContexts[tid]; } -- cgit v1.2.3