From 9ffb34a1bbe7ae942428346d7afbcbd1a6e8d6e7 Mon Sep 17 00:00:00 2001 From: Ilir-Liburn <30291682+Ilir-Liburn@users.noreply.github.com> Date: Fri, 20 May 2022 10:33:37 +0200 Subject: [PATCH] i64 to LL fix --- test/unit/app.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/app.c b/test/unit/app.c index c592b77..673b71a 100644 --- a/test/unit/app.c +++ b/test/unit/app.c @@ -14,9 +14,9 @@ // time.h implementation https://stackoverflow.com/a/31335254 struct timespec { long tv_sec; long tv_nsec; }; //header part - #define exp7 10000000i64 //1E+7 //C-file part - #define exp9 1000000000i64 //1E+9 - #define w2ux 116444736000000000i64 //1.jan1601 to 1.jan1970 + #define exp7 10000000LL //1E+7 //C-file part + #define exp9 1000000000LL //1E+9 + #define w2ux 116444736000000000LL //1.jan1601 to 1.jan1970 #define CLOCK_REALTIME 0 void unix_time(struct timespec *spec)