From e9334e6d2d781e4fc98561649df445fb953e4a56 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Tue, 12 Dec 2017 07:51:39 +0100 Subject: [PATCH] sys/timex: make NS_PER_US unsigned --- sys/include/timex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/include/timex.h b/sys/include/timex.h index af4df8a1a4..e6b3f05afe 100644 --- a/sys/include/timex.h +++ b/sys/include/timex.h @@ -56,7 +56,7 @@ extern "C" { /** * @brief The number of nanoseconds per microsecond */ -#define NS_PER_US (1000) +#define NS_PER_US (1000U) /** * @brief The maximum length of the string representation of a timex timestamp