WaE: enumeral and non-enumeral type in conditional expression
This commit is contained in:
parent
e54a81fbb0
commit
bd6310886d
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ sal_Int32 SAL_CALL OResultSet::getRow( ) throw(SQLException, RuntimeException)
|
|||
|
||||
PositionEnum_Param aPos;
|
||||
m_pRecordSet->get_AbsolutePosition(&aPos);
|
||||
return (aPos > 0) ? aPos : m_nRowPos;
|
||||
return (aPos > 0) ? static_cast<sal_Int32>(aPos) : m_nRowPos;
|
||||
// return the rowcount from driver if the driver doesn't support this return our count
|
||||
}
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue