diff options
author | OBATA Akio <obache@wizdas.com> | 2019-04-09 18:49:43 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-04-11 17:48:29 +0200 |
commit | 99d8c77851f1789e86e6f6ddbcc6695efc6ad250 (patch) | |
tree | 624f77a89e898ab07938f97ce7a1cb0b2abe0d3e /juk/exampleoptions.cpp | |
parent | b6ae5c8687b722b0d8e5febc373be97e7391d055 (diff) | |
download | tdemultimedia-99d8c77851f1789e86e6f6ddbcc6695efc6ad250.tar.gz tdemultimedia-99d8c77851f1789e86e6f6ddbcc6695efc6ad250.zip |
Fix for time_t != long
`time_t` may not be `long`, for examples, unsigned (long) int,
long long int (64bit integer type on 32bit arch), double, and so on.
Change to use difftime(3) to retrieve seconds.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 9b8b7c129917f2813e5f412fe08b6a153ca05981)
Diffstat (limited to 'juk/exampleoptions.cpp')
0 files changed, 0 insertions, 0 deletions