]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
log: fix timestamps on Windows
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 18 Mar 2020 16:33:08 +0000 (16:33 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 22 Oct 2020 12:04:38 +0000 (12:04 +0000)
commit8e10578d1cfb97265acf1065a45b01c8f565aef9
treeeb348aa81cf1dc4b974a4831e2b813645199cafe
parent6e1ec123c98a6aba464f9a7ddad1728a61344726
log: fix timestamps on Windows

timeval.tv_usec uses long, although on Windows long uses 32b, even
on x64.

For this reason, we'll have to avoid a direct cast from time_t,
which is 64b long.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/log/LogClock.h