diff options
author | Urja Rannikko <urjaman@gmail.com> | 2021-12-05 14:29:09 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2021-12-06 11:58:09 +0100 |
commit | 7fa9b09bc271d91792fe78c5cb03430bf38155a8 (patch) | |
tree | db2b13546258d4c5fee41d5fe62d172e878d4f49 /sc/UITest_csv_dialog.mk | |
parent | 5e5138db9fa4f8fb995808a4895e6ce6f7629783 (diff) |
tdf#128715 fix tools::Time::GetMonotonicTicks() on 32-bit linux
Since time_t and thus tv_sec is (still, for now) 32-bit on these
architechtures, the multiplication of seconds to microseconds
happened in 32-bit thus causing a rollover roughly every 4295 seconds.
Fix by casting tv_sec to sal_uInt64 before the multiplication.
Also fixes tdf#144975.
Change-Id: I829d3406208545a816979cb58daaeb99ec2d5294
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126379
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'sc/UITest_csv_dialog.mk')
0 files changed, 0 insertions, 0 deletions