[Libreoffice-commits] core.git: dbaccess/source
Noel Grandin
noel.grandin at collabora.co.uk
Mon Mar 12 09:02:36 UTC 2018
dbaccess/source/filter/hsqldb/rowinputbinary.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a451edce98f60b3b66b090a9cbbd3977901e1a14
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Mon Mar 12 11:00:43 2018 +0200
another fix for Android
Change-Id: I21802c695e2ca4fbc7ff0dd08880dfa262ca9a33
diff --git a/dbaccess/source/filter/hsqldb/rowinputbinary.cxx b/dbaccess/source/filter/hsqldb/rowinputbinary.cxx
index b0ca420f13df..30097d59f78b 100644
--- a/dbaccess/source/filter/hsqldb/rowinputbinary.cxx
+++ b/dbaccess/source/filter/hsqldb/rowinputbinary.cxx
@@ -324,7 +324,7 @@ std::vector<Any> HsqlRowInputStream::readOneRow(const ColumnTypeVector& nColType
{
sal_Int64 nEpochMillis = 0;
m_pStream->ReadInt64(nEpochMillis);
- sal_Int64 nEpochSec = nEpochMillis / 1000;
+ std::time_t nEpochSec = nEpochMillis / 1000;
std::tm* tm = std::gmtime(&nEpochSec);
sal_Int32 nNanos = 0;
More information about the Libreoffice-commits
mailing list