summaryrefslogtreecommitdiff
path: root/ftparchive
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-08-17 20:00:42 -1000
committerSam Bingner <sam@bingner.com>2020-07-17 00:22:23 -1000
commit7f51a104d161e5d4e9fe0c43d0cd94cafd13e248 (patch)
tree44bbdfda9d65ebae1122f2d1867cd34d54fcf66c /ftparchive
parent15c57dc8e254d526e0086ddeb00ac39550dd9230 (diff)
Cleanup patches for 1.8.2
Diffstat (limited to 'ftparchive')
-rw-r--r--ftparchive/apt-ftparchive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftparchive/apt-ftparchive.cc b/ftparchive/apt-ftparchive.cc
index 077701cc0..018df3d8c 100644
--- a/ftparchive/apt-ftparchive.cc
+++ b/ftparchive/apt-ftparchive.cc
@@ -53,7 +53,7 @@ static struct timeval GetTimevalFromSteadyClock() /*{{{*/
auto const Time = std::chrono::steady_clock::now().time_since_epoch();
auto const Time_sec = std::chrono::duration_cast<std::chrono::seconds>(Time);
auto const Time_usec = std::chrono::duration_cast<std::chrono::microseconds>(Time - Time_sec);
- return { Time_sec.count(), Time_usec.count() };
+ return { static_cast<time_t>(Time_sec.count()), static_cast<suseconds_t>(Time_usec.count()) };
}
/*}}}*/