diff options
-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); |