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;