1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 00:37:35 +00:00

Kernel+LibC+Userland: Switch to 64-bit time_t

Let's not have that 2038 problem people are talking about. :^)
This commit is contained in:
Andreas Kling 2020-01-27 10:56:04 +01:00
parent 6906edee9a
commit 23ffd6c319
5 changed files with 5 additions and 5 deletions

View file

@ -33,7 +33,7 @@ int main(int argc, char** argv)
time_t now = time(nullptr);
if (argc == 2 && !strcmp(argv[1], "-u")) {
printf("%u\n", now);
printf("%lld\n", now);
return 0;
}