changeset 44f8c2507d85 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=44f8c2507d85
description:
work around gcc 4.5 warning
diffstat:
src/cpu/inorder/resource_pool.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r db269e704d07 -r 44f8c2507d85 src/cpu/inorder/resource_pool.cc
--- a/src/cpu/inorder/resource_pool.cc Sat May 07 17:43:30 2011 -0400
+++ b/src/cpu/inorder/resource_pool.cc Mon May 09 16:34:11 2011 -0400
@@ -260,7 +260,7 @@
Tick when = cpu->nextCycle(curTick() + cpu->ticks(delay));
- switch (e_type)
+ switch ((int)e_type)
{
case InOrderCPU::ActivateThread:
{
@@ -505,7 +505,7 @@
void
ResourcePool::ResPoolEvent::process()
{
- switch (eventType)
+ switch ((int)eventType)
{
case InOrderCPU::ActivateThread:
resPool->activateAll(tid);
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev