summaryrefslogtreecommitdiff
path: root/tools/source/stream/strmwnt.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-30 23:08:54 +0200
committerMichael Stahl <mstahl@redhat.com>2014-03-30 23:08:54 +0200
commit4e3cf9cd8eb4602883339e5c9b9d4edcf05929d0 (patch)
treee20ccf6f873284b4c65d221eda267b1f4ca4a2b7 /tools/source/stream/strmwnt.cxx
parent0dd6d4ed6ce66cdff14688d7acdf81992e86e64f (diff)
MSVC helpfully provides warning C4310: cast truncates constant value
Change-Id: I985216d7bade6cbb3a037b07fe44438543d63ba0
Diffstat (limited to 'tools/source/stream/strmwnt.cxx')
-rw-r--r--tools/source/stream/strmwnt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/stream/strmwnt.cxx b/tools/source/stream/strmwnt.cxx
index ad4f1336339b..8989921effcf 100644
--- a/tools/source/stream/strmwnt.cxx
+++ b/tools/source/stream/strmwnt.cxx
@@ -163,7 +163,7 @@ sal_Size SvFileStream::PutData( const void* pData, sal_Size nSize )
sal_uInt64 SvFileStream::SeekPos(sal_uInt64 const nPos)
{
// check if a truncated STREAM_SEEK_TO_END was passed
- assert(nPos != (sal_uInt64)(sal_uInt32)STREAM_SEEK_TO_END);
+ assert(nPos != SAL_MAX_UINT32);
DWORD nNewPos = 0;
if( IsOpen() )
{