Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Debian switches to 64-bit time for everything. Parent comment
I guess a tricky thing might be casts from time_t to datatypes that are actually 64bit. E.g. for something like
struct Callback { int64_t(*fn)(int64_t); int64_t context; }
There are no comments on this comment yet.
I guess a tricky thing might be casts from time_t to datatypes that are actually 64bit. E.g. for something like
If a time_t is used for context and the int64_t is then downcast to int32_t that could be hard to catch. Maybe you would need some runtime type information to annotate what the int64_t actually is.