From 544d4949f8fb67d7a5b2f0983a0def6c982cc114 Mon Sep 17 00:00:00 2001 From: hellwig Date: Wed, 25 Apr 2012 11:10:50 +0000 Subject: [PATCH] compile-warning removed... git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1167 8c4709b5-6ec9-48aa-a5cd-a96041d1645a --- core/SAL/SimulatorController.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/SAL/SimulatorController.cc b/core/SAL/SimulatorController.cc index 03284f2c..7b58c6c5 100644 --- a/core/SAL/SimulatorController.cc +++ b/core/SAL/SimulatorController.cc @@ -128,8 +128,8 @@ bool SimulatorController::isSuppressedInterrupt(unsigned interruptNum) { for(size_t i = 0; i < m_SuppressedInterrupts.size(); i++) if((m_SuppressedInterrupts[i] == interruptNum || - m_SuppressedInterrupts[i] == fi::ANY_INTERRUPT) && interruptNum != interrupt_to_fire+32 ){ - if(interruptNum == interrupt_to_fire+32){ + m_SuppressedInterrupts[i] == fi::ANY_INTERRUPT) && interruptNum != (unsigned) interrupt_to_fire+32 ){ + if((int)interruptNum == interrupt_to_fire+32){ interrupt_to_fire = -1; return(true); }