From 7c6bc52bf53f3c424a1a3a12157750c2ca9a17ca Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Thu, 14 Feb 2013 12:24:51 -0500 Subject: Ruby: Fix compilation errors on gcc 4.7 and clang 3.2 This patch fixes a few (recently added) errors that prevented gem5 from compiling on more recent versions of gcc and clang. --- src/mem/ruby/system/MachineID.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mem/ruby/system/MachineID.hh b/src/mem/ruby/system/MachineID.hh index 0bcd10efc..0ad898959 100644 --- a/src/mem/ruby/system/MachineID.hh +++ b/src/mem/ruby/system/MachineID.hh @@ -39,10 +39,10 @@ struct MachineID { MachineType type; //! range: 0 ... number of this machine's components in system - 1 - uint32_t num; + NodeID num; MachineType getType() const { return type; } - uint32_t getNum() const { return num; } + NodeID getNum() const { return num; } }; inline std::string -- cgit v1.2.3