From 22f4bc233c9c5b1f72b5aa2128e11d2753fc0700 Mon Sep 17 00:00:00 2001 From: Thiago Alves Date: Fri, 12 Jul 2024 08:51:35 -0400 Subject: [PATCH] Fix IEC_TIMESPEC declaration --- webserver/core/lib/iec_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webserver/core/lib/iec_types.h b/webserver/core/lib/iec_types.h index 0dc5cac..609e5b6 100755 --- a/webserver/core/lib/iec_types.h +++ b/webserver/core/lib/iec_types.h @@ -35,8 +35,8 @@ typedef double IEC_LREAL; * (these macros may be found in iec_std_lib.h) */ typedef struct { - long int tv_sec; /* Seconds. */ - long int tv_nsec; /* Nanoseconds. */ + int32_t tv_sec; /* Seconds. */ + int32_t tv_nsec; /* Nanoseconds. */ } /* __attribute__((packed)) */ IEC_TIMESPEC; /* packed is gcc specific! */ typedef IEC_TIMESPEC IEC_TIME;