Skip to content

Commit

Permalink
Merge pull request #45 from Ilir-Liburn/main
Browse files Browse the repository at this point in the history
i64 to LL fix
  • Loading branch information
haxiomic committed May 20, 2022
2 parents ad92e92 + 9ffb34a commit 2ae120d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2ae120d

Please sign in to comment.