connectivity/source/drivers/flat/ETable.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5d01e747270722ad9216ace8e782c7dfac5d744e Author: Henrik Palomäki <henrik.palom...@yandex.com> AuthorDate: Tue Nov 23 13:41:43 2021 +0200 Commit: Hossein <hoss...@libreoffice.org> CommitDate: Tue Nov 23 14:26:54 2021 +0100 tdf#114441 Convert use of sal_uLong to sal_uInt32 The suitable type for variable nIndex is determined by knowing that the return type of the detectNumberFormat() is sal_uInt32, and the second parameter for the getNumberFormatType() is also sal_uInt32. Change-Id: I6578eba05f151ee31eb8eb8142d70f8f5c7c702b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125696 Tested-by: Hossein <hoss...@libreoffice.org> Reviewed-by: Hossein <hoss...@libreoffice.org> diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx index 68f1a82dcdd7..83ce7eb3c090 100644 --- a/connectivity/source/drivers/flat/ETable.cxx +++ b/connectivity/source/drivers/flat/ETable.cxx @@ -201,7 +201,7 @@ void OFlatTable::impl_fillColumnInfo_nothrow(QuotedTokenizedString const & aFirs if ( io_nType != DataType::VARCHAR ) { bool bNumeric = io_nType == DataType::SQLNULL || io_nType == DataType::DOUBLE || io_nType == DataType::DECIMAL || io_nType == DataType::INTEGER; - sal_uLong nIndex = 0; + sal_uInt32 nIndex = 0; if ( bNumeric ) {