diff --git a/cpukit/include/rtems/rtems/timerimpl.h b/cpukit/include/rtems/rtems/timerimpl.h index 6ddeec220a..a66c4a2285 100644 --- a/cpukit/include/rtems/rtems/timerimpl.h +++ b/cpukit/include/rtems/rtems/timerimpl.h @@ -138,7 +138,7 @@ static inline bool _Timer_Is_interval_class( Timer_Classes the_class ) { - int mask; + uint32_t mask; mask = TIMER_CLASS_BIT_NOT_DORMANT | TIMER_CLASS_BIT_TIME_OF_DAY; return ( the_class & mask ) == TIMER_CLASS_BIT_NOT_DORMANT; @@ -148,7 +148,7 @@ static inline bool _Timer_Is_on_task_class( Timer_Classes the_class ) { - int mask; + uint32_t mask; mask = TIMER_CLASS_BIT_NOT_DORMANT | TIMER_CLASS_BIT_ON_TASK; return ( the_class & mask ) == mask;