diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-02-02 09:16:53 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-02-02 09:16:53 +0100 |
commit | 6dd96afce9b18a20d426d578a861e8f73e510089 (patch) | |
tree | a910906e0826bf11da805cacbdc98645f098a034 | |
parent | Remove CONFIGURE_SMP_APPLICATION (diff) | |
download | rtems-6dd96afce9b18a20d426d578a861e8f73e510089.tar.bz2 |
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.
-rw-r--r-- | cpukit/rtems/include/rtems.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. |