From 6dd96afce9b18a20d426d578a861e8f73e510089 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 2 Feb 2017 09:16:53 +0100 Subject: rtems: Fix RTEMS_NO_TIMEOUT define Cast the internal WATCHDOG_NO_TIMEOUT to the right type for a Classic API interval to avoid implict type conversion warnings. --- cpukit/rtems/include/rtems.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/rtems/include/rtems.h b/cpukit/rtems/include/rtems.h index 2c27e5f719..8e536b449a 100644 --- a/cpukit/rtems/include/rtems.h +++ b/cpukit/rtems/include/rtems.h @@ -166,7 +166,7 @@ const char *rtems_get_version_string(void); * * This is actually an illegal interval value. */ -#define RTEMS_NO_TIMEOUT WATCHDOG_NO_TIMEOUT +#define RTEMS_NO_TIMEOUT ((rtems_interval) WATCHDOG_NO_TIMEOUT) /** * @brief An MPCI must support packets of at least this size. -- cgit v1.2.3