databases/mysql80-server: fix build on armv7

PR:	267422
Sponsored by:	Netzkommune GmbH
Submitted by:	Robert Clausecker <fuz@fuz.su>

(cherry picked from commit 315977f1bd)
This commit is contained in:
Jochen Neumeister 2022-12-02 14:12:29 +01:00 committed by Florian Smeets
parent b3573a8155
commit fbef78e7a9

View File

@ -7,7 +7,7 @@
- ts = {secs.count(),
- std::chrono::duration_cast<std::chrono::nanoseconds>(timeout)
+ ts = {(time_t)secs.count(),
+ (time_t)std::chrono::duration_cast<std::chrono::nanoseconds>(timeout)
+ (long)std::chrono::duration_cast<std::chrono::nanoseconds>(timeout)
.count()};
p_ts = &ts;