diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-01-25 00:47:45 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-01-25 00:47:45 +0200 |
commit | 7a48a6c87ffdc8d11a758205bdd6e67c990e88ed (patch) | |
tree | 95a952944b9ccdda06fc379d0a88234b11c3b630 /connectivity/source | |
parent | No need to define _X86_ and it confuses a 64-bit Windows compilation (diff) | |
download | core-7a48a6c87ffdc8d11a758205bdd6e67c990e88ed.tar.gz core-7a48a6c87ffdc8d11a758205bdd6e67c990e88ed.zip |
Both argumensts to Min must be of same type
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/dbase/DTable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 42a8cc689137..044e66416a5b 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -1313,7 +1313,7 @@ BOOL ODbaseTable::CreateFile(const INetURLObject& aFile, BOOL& bCreateMemo) { throwInvalidColumnType(STR_INVALID_COLUMN_PRECISION, aName); } - (*m_pFileStream) << (BYTE) Min((ULONG)nPrecision, 255UL); //Feldlaenge + (*m_pFileStream) << (BYTE) Min((unsigned)nPrecision, 255U); //Feldlaenge nRecLength = nRecLength + (USHORT)::std::min((USHORT)nPrecision, (USHORT)255UL); (*m_pFileStream) << (BYTE)0; //Nachkommastellen break; |