summaryrefslogtreecommitdiff
path: root/mysqlc/source/mysqlc_preparedstatement.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mysqlc/source/mysqlc_preparedstatement.cxx')
-rw-r--r--mysqlc/source/mysqlc_preparedstatement.cxx2
1 files changed, 1 insertions, 1 deletions
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<INTTYPE>(nValue) );
}
}