mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:27:45 +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:
parent
6906edee9a
commit
23ffd6c319
5 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue