summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-12 09:58:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-12 09:58:44 +0200
commit886cf2526865d2de9a76379123c9c3469ff63721 (patch)
treec72846aa37bd8fb9beea51c6791a324688e236c2 /dbaccess
parent2f5868c4309d49ad495e0763b5b57d1f7f98e377 (diff)
blind fix for Android
Change-Id: I014e23da43292b458ca046ebdc7fd6a472c6dffb
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/filter/hsqldb/rowinputbinary.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/filter/hsqldb/rowinputbinary.cxx b/dbaccess/source/filter/hsqldb/rowinputbinary.cxx
index 7b6fd4eff94c..b0ca420f13df 100644
--- a/dbaccess/source/filter/hsqldb/rowinputbinary.cxx
+++ b/dbaccess/source/filter/hsqldb/rowinputbinary.cxx
@@ -305,7 +305,7 @@ std::vector<Any> HsqlRowInputStream::readOneRow(const ColumnTypeVector& nColType
{
sal_Int64 value = 0;
m_pStream->ReadInt64(value); // in millisec, from 1970
- sal_Int64 nEpochSec = value / 1000;
+ std::time_t nEpochSec = value / 1000;
std::tm* tm = std::gmtime(&nEpochSec);
css::util::Date date(tm->tm_mday, tm->tm_mon + 1,
tm->tm_year + 1900); // day, month, year