summaryrefslogtreecommitdiffstats
path: root/connectivity
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2018-11-10 17:34:31 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2018-11-10 23:11:28 +0100
commitafbfe42e63cdba1a18c292d7eb4875009b0f19c0 (patch)
tree4d4feec02830008c898cc1cd4eff768f26efda84 /connectivity
parentFix typo in comment (diff)
downloadcore-afbfe42e63cdba1a18c292d7eb4875009b0f19c0.tar.gz
core-afbfe42e63cdba1a18c292d7eb4875009b0f19c0.zip
clang-tidy: (WIP) bugprone-too-small-loop-variable findings 2
Change-Id: I1ddf3fe0e5fad265ae14712a23469b684253079d Reviewed-on: https://gerrit.libreoffice.org/63241 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/jdbc/DatabaseMetaData.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx b/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx
index 7cd26be1daba..ee991d4c1338 100644
--- a/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx
+++ b/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx
@@ -446,7 +446,7 @@ Reference< XResultSet > SAL_CALL java_sql_DatabaseMetaData::getTablePrivileges(
for (sal_Int32 i = 1 ; i <= nCount ; ++i)
{
sColumnName = xMeta->getColumnName(i);
- for (sal_uInt32 j = 0 ; j < SAL_N_ELEMENTS(sPrivs); ++j)
+ for (size_t j = 0 ; j < SAL_N_ELEMENTS(sPrivs); ++j)
{
if ( sPrivs[j] == sColumnName )
{