diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index dde41d2632d8..0386f6686045 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -1311,7 +1311,7 @@ sal_Bool ODbaseTable::CreateFile(const INetURLObject& aFile, sal_Bool& bCreateMe (*m_pFileStream) << cTyp; if ( nDbaseType == VisualFoxPro ) - (*m_pFileStream) << sal_uInt16(nRecLength-1); + (*m_pFileStream) << sal_uInt32(nRecLength-1); else m_pFileStream->Write(aBuffer, 4);