diff options
author | Nathan Binkert <nate@binkert.org> | 2011-05-09 16:34:11 -0400 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-05-09 16:34:11 -0400 |
commit | 9c4c1419a7d83e9bc39c94aa0a37dd1bbbecc38d (patch) | |
tree | d2b2d68e9029f3d681aa81ac5039bc7590ba675b /src/cpu/inorder/resource_pool.cc | |
parent | 1267ff59499e1d3a0de9b05b84f58d65db684c1e (diff) | |
download | gem5-9c4c1419a7d83e9bc39c94aa0a37dd1bbbecc38d.tar.xz |
work around gcc 4.5 warning
Diffstat (limited to 'src/cpu/inorder/resource_pool.cc')
-rw-r--r-- | src/cpu/inorder/resource_pool.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/inorder/resource_pool.cc b/src/cpu/inorder/resource_pool.cc index 263512611..1800aac37 100644 --- a/src/cpu/inorder/resource_pool.cc +++ b/src/cpu/inorder/resource_pool.cc @@ -260,7 +260,7 @@ ResourcePool::scheduleEvent(InOrderCPU::CPUEventType e_type, DynInstPtr inst, Tick when = cpu->nextCycle(curTick() + cpu->ticks(delay)); - switch (e_type) + switch ((int)e_type) { case InOrderCPU::ActivateThread: { @@ -505,7 +505,7 @@ ResourcePool::ResPoolEvent::ResPoolEvent(ResourcePool *_resPool, void ResourcePool::ResPoolEvent::process() { - switch (eventType) + switch ((int)eventType) { case InOrderCPU::ActivateThread: resPool->activateAll(tid); |