diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-16 10:44:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-16 10:44:22 +0000 |
commit | 980dce83b23793024977b23281e51eb295d9bf5e (patch) | |
tree | 164259041a785367c98a1f8385a3522b49754fbe /sw | |
parent | c4d0e535ab64356104f258b345b858a46a09df2a (diff) |
these sal_uLongs want to be sal_uInt64
Change-Id: Ie1b17585cdb80836ad5ffed2b5ad787032b812e8
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8scan.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index 5bfa5ab8f791..09f44c2a4442 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -5930,9 +5930,9 @@ void WW8Fib::WriteHeader(SvStream& rStrm) sal_uInt8 *pData = pDataPtr; memset( pData, 0, nUnencryptedHdr ); - sal_uLong nPos = rStrm.Tell(); + const sal_uInt64 nPos = rStrm.Tell(); m_cbMac = rStrm.Seek( STREAM_SEEK_TO_END ); - rStrm.Seek( nPos ); + rStrm.Seek(nPos); Set_UInt16( pData, m_wIdent ); Set_UInt16( pData, m_nFib ); @@ -6018,9 +6018,9 @@ void WW8Fib::Write(SvStream& rStrm) sal_uInt8 *pData = pDataPtr; memset( pData, 0, m_fcMin - nUnencryptedHdr ); - sal_uLong nPos = rStrm.Tell(); + const sal_uInt64 nPos = rStrm.Tell(); m_cbMac = rStrm.Seek( STREAM_SEEK_TO_END ); - rStrm.Seek( nPos ); + rStrm.Seek(nPos); // ignore 2 longs, because they are unimportant pData += 2 * sizeof( sal_Int32); |