summaryrefslogtreecommitdiff
path: root/reportbuilder
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-07-09 01:09:35 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2019-07-09 02:03:44 +0200
commitf65905dd0ff464774f338db44d69925f98e1766c (patch)
tree52e22a8cb60fa3bb8f3ee226b8c7df5eddb08387 /reportbuilder
parente22adfad195c22e98a47fd09c439ec96da247488 (diff)
Optimize osl_getSystemTime on Windows
Make OffTime static const; don't cast from FILETIME to __int64 (see https://docs.microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-filetime for explanation: "it can cause alignment faults on 64-bit Windows"). Instead, cast in opposite direction: from 8-byte-aligned 64-bit integer to FILETIME. Change-Id: Iba61cc0198f8f25ef471d87e661c8801724b913d Reviewed-on: https://gerrit.libreoffice.org/75256 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'reportbuilder')
0 files changed, 0 insertions, 0 deletions