diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-13 18:06:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-13 18:21:35 +0100 |
commit | 8289bc767ecc88cf07da60ab6a8b850f5c2e7eb4 (patch) | |
tree | 13def2ab0f5f86d4532c516a2f28c7fdfd9492b6 /connectivity/source | |
parent | 4a8d478ff217fd1805bb739efdea985f3d947bae (diff) |
loplugin:cstylecast (32-bit)
Change-Id: I747ebddc39d4a0346cf61c3b771ef39b3365d621
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/jdbc/DatabaseMetaData.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx b/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx index b08ece94bdbb..3d6179cb730e 100644 --- a/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx +++ b/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx @@ -1431,7 +1431,7 @@ Reference< XResultSet > SAL_CALL java_sql_DatabaseMetaData::getUDTs( args[1].l = schemaPattern.toChar() == '%' ? NULL : convertwchar_tToJavaString(t.pEnv,schemaPattern); args[2].l = convertwchar_tToJavaString(t.pEnv,typeNamePattern); jintArray pArray = t.pEnv->NewIntArray(types.getLength()); - t.pEnv->SetIntArrayRegion(pArray,0,types.getLength(),(jint*)types.getConstArray()); + t.pEnv->SetIntArrayRegion(pArray,0,types.getLength(),reinterpret_cast<jint const *>(types.getConstArray())); args[3].l = pArray; out = t.pEnv->CallObjectMethod( object, mID, args[0].l, args[1].l,args[2].l,args[3].l); |