diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-03-30 23:08:54 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-03-30 23:08:54 +0200 |
commit | 4e3cf9cd8eb4602883339e5c9b9d4edcf05929d0 (patch) | |
tree | e20ccf6f873284b4c65d221eda267b1f4ca4a2b7 /basic | |
parent | 0dd6d4ed6ce66cdff14688d7acdf81992e86e64f (diff) |
MSVC helpfully provides warning C4310: cast truncates constant value
Change-Id: I985216d7bade6cbb3a037b07fe44438543d63ba0
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/iosys.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index 43942b8d9426..be07963fd2a8 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -375,7 +375,7 @@ sal_uInt64 OslStream::SeekPos( sal_uInt64 nPos ) { ::osl::FileBase::RC rc = ::osl::FileBase::E_None; // 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); if( nPos == STREAM_SEEK_TO_END ) { rc = maFile.setPos( osl_Pos_End, 0 ); |