--- connectivity/source/drivers/odbc/OStatement.cxx.orig 2008-05-25 11:53:55.000000000 +0200 +++ connectivity/source/drivers/odbc/OStatement.cxx 2008-05-25 11:57:32.000000000 +0200 @@ -298,7 +298,7 @@ sal_Int32 numRows = 0; try { - THROW_SQL(N3SQLRowCount(m_aStatementHandle,&numRows)); + THROW_SQL(N3SQLRowCount(m_aStatementHandle,(SQLINTEGER*)&numRows)); } catch (SQLException&) { @@ -564,7 +564,7 @@ SQLRETURN nError = N3SQLMoreResults(m_aStatementHandle); if(nError == SQL_SUCCESS) { - N3SQLRowCount(m_aStatementHandle,&pArray[j]); + N3SQLRowCount(m_aStatementHandle,(SQLINTEGER*)&pArray[j]); } } return aRet;