summaryrefslogtreecommitdiffstats
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/dbase/DTable.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 82777ca7b7ba..63f792e5c4cf 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -1223,7 +1223,7 @@ sal_Bool ODbaseTable::CreateFile(const INetURLObject& aFile, sal_Bool& bCreateMe
(*m_pFileStream) << (sal_uInt8) aDate.GetMonth();
(*m_pFileStream) << (sal_uInt8) aDate.GetDay();
- (*m_pFileStream) << 0L; // number of data records
+ (*m_pFileStream) << (sal_uInt32)0; // number of data records
(*m_pFileStream) << (sal_uInt16)((m_pColumns->getCount()+1) * 32 + 1); // header information,
// pColumns contains always an additional column
(*m_pFileStream) << (sal_uInt16) 0; // record length will be determined later
@@ -1425,7 +1425,7 @@ sal_Bool ODbaseTable::CreateMemoFile(const INetURLObject& aFile)
m_pMemoStream->SetStreamSize(512);
m_pMemoStream->Seek(0L);
- (*m_pMemoStream) << long(1); // pointer to the first free block
+ (*m_pMemoStream) << sal_uInt32(1); // pointer to the first free block
m_pMemoStream->Flush();
delete m_pMemoStream;