From a52cf476e7cec9d0c70dd4ee93cbd328b66479ad Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 29 Mar 2015 15:13:23 +0200 Subject: Clean up template-parameter-dependent C-style casts Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734 --- mysqlc/source/mysqlc_preparedstatement.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysqlc') diff --git a/mysqlc/source/mysqlc_preparedstatement.cxx b/mysqlc/source/mysqlc_preparedstatement.cxx index 99c1ab5e7670..6b68f6e060b7 100644 --- a/mysqlc/source/mysqlc_preparedstatement.cxx +++ b/mysqlc/source/mysqlc_preparedstatement.cxx @@ -536,7 +536,7 @@ namespace sal_Int32 nValue(0); if ( !( _value >>= nValue ) ) mysqlc_sdbc_driver::throwInvalidArgumentException( "OPreparedStatement::setObjectWithInfo", _rxParam ); - (_rxParam.get()->*_Setter)( _parameterIndex, (INTTYPE)nValue ); + (_rxParam.get()->*_Setter)( _parameterIndex, static_cast(nValue) ); } } -- cgit v1.2.3