commit | b503d24cdf56abf8c0d66d438ccac28969f01670 | [log] [tgz] |
---|---|---|
author | Gerhard Sittig <gerhard.sittig@gmx.net> | Mon Jan 01 13:37:50 2024 |
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | Wed Jan 03 19:21:36 2024 |
tree | b7ef69ab9faa0ae5204592a0b8f45089aba47084 | |
parent | 0fd3ed06a75d57178330b854a29bd119996b1a08 [diff] |
output/csv: use intermediate time_t var, silence compiler warning There are platforms where timeval and time_t disagree on the width of the data type of the field which holds seconds. Passing a pointer to an unexpected type results in warnings (and probably unreliable execution). Assign the value which is gotten from a timeval to an intermediate time_t variable, so that the ctime() invocation becomes portable.