diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-08-16 10:19:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-08-17 09:54:42 +0200 |
commit | 3d0f3a1a6fdc677507a8274e5882aca26cf98a22 (patch) | |
tree | dcf365846510e47d3c6629547efc29771b67270b /vcl/unx/generic | |
parent | 1a7f79d6ceab9871511758682efb677483437a87 (diff) |
cid#1509309 Use of 32-bit time_t
and
cid#1509292 Use of 32-bit time_t
cid#1509217 Use of 32-bit time_t
Change-Id: Icf1b2fa43e706c6d3ff783cf9bcfb5a345b8d50b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138382
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/dtrans/X11_selection.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/dtrans/X11_selection.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx index d35b496bf265..175da5308e08 100644 --- a/vcl/unx/generic/dtrans/X11_selection.cxx +++ b/vcl/unx/generic/dtrans/X11_selection.cxx @@ -1948,7 +1948,7 @@ bool SelectionManager::handleSendPropertyNotify( XPropertyEvent const & rNotify if( it != m_aIncrementals.end() ) { bHandled = true; - int nCurrentTime = time( nullptr ); + time_t nCurrentTime = time( nullptr ); // throw out aborted transfers std::vector< Atom > aTimeouts; for (auto const& incrementalTransfer : it->second) diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx index c0ae171c621e..bbfe07e5f6b9 100644 --- a/vcl/unx/generic/dtrans/X11_selection.hxx +++ b/vcl/unx/generic/dtrans/X11_selection.hxx @@ -166,7 +166,7 @@ namespace x11 { Atom m_aProperty; Atom m_aTarget; int m_nFormat; - int m_nTransferStartTime; + time_t m_nTransferStartTime; }; int m_nIncrementalThreshold; @@ -190,7 +190,7 @@ namespace x11 { // m_aNativeTypes contains the corresponding original atom Atom m_aRequestedType; // m_aRequestedType is only valid while WaitingForResponse and WaitingFotData - int m_nLastTimestamp; + time_t m_nLastTimestamp; bool m_bHaveUTF16; Atom m_aUTF8Type; bool m_bHaveCompound; |