From c6060ad812bb72c319da15244273075ef214b663 Mon Sep 17 00:00:00 2001 From: joevt Date: Tue, 27 Aug 2024 04:43:18 -0700 Subject: [PATCH] timermanager: Use decimal ints, not floats or hex. --- core/timermanager.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/timermanager.h b/core/timermanager.h index c31568c..465742e 100644 --- a/core/timermanager.h +++ b/core/timermanager.h @@ -33,11 +33,11 @@ along with this program. If not, see . using namespace std; -#define NS_PER_SEC 1E9 -#define USEC_PER_SEC 1E6 -#define NS_PER_USEC 1000UL -#define NS_PER_MSEC 1E6 -#define ONE_BILLION_NS 0x3B9ACA00UL +#define NS_PER_SEC 1000000000 +#define USEC_PER_SEC 1000000 +#define NS_PER_USEC 1000 +#define NS_PER_MSEC 1000000 +#define ONE_BILLION_NS 1000000000 #define USECS_TO_NSECS(us) (us) * NS_PER_USEC #define MSECS_TO_NSECS(ms) (ms) * NS_PER_MSEC