From 02bc3ffb792fdf10e0669580aa5aeeb75462ec9b Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Thu, 20 Aug 2015 14:35:58 +0200 Subject: [PATCH] sys: timex: add "U" specifiers to constant definitions --- sys/include/timex.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/include/timex.h b/sys/include/timex.h index 897bb7adad..935f702cdb 100644 --- a/sys/include/timex.h +++ b/sys/include/timex.h @@ -31,17 +31,17 @@ extern "C" { /** * @brief The number of microseconds per second */ -#define SEC_IN_USEC 1000000 +#define SEC_IN_USEC (1000000U) /** * @brief The number of milliseconds per second */ -#define SEC_IN_MS (1000) +#define SEC_IN_MS (1000U) /** * @brief The number of microseconds per millisecond */ -#define MS_IN_USEC (1000) +#define MS_IN_USEC (1000U) /** * @brief The maximum length of the string representation of a timex timestamp