summaryrefslogtreecommitdiff
path: root/package/source/zipapi/Deflater.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-09-21 13:09:29 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-09-21 15:37:17 +0100
commit9b0198b2442bc749491d0f1e5e2c811346e5d568 (patch)
tree6af3f097947c8d5a4ebf5fd5599d1fe1fcc9e96c /package/source/zipapi/Deflater.cxx
parentb3603e0e0e5dbfbeaa2426c499e8f64be2d15765 (diff)
package: convert internal ZIP handling data-types to 64bit
Prepare for a ZIP64 implementation. Audit all "Size" property fetches through Anys. Audit all uses of nSize, nCompressedSize, nOffset through the code. Add FIXME64: comments to all points requiring future work.
Diffstat (limited to 'package/source/zipapi/Deflater.cxx')
-rw-r--r--package/source/zipapi/Deflater.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/source/zipapi/Deflater.cxx b/package/source/zipapi/Deflater.cxx
index 53323f036898..dc3d3442b446 100644
--- a/package/source/zipapi/Deflater.cxx
+++ b/package/source/zipapi/Deflater.cxx
@@ -167,13 +167,13 @@ sal_Int32 SAL_CALL Deflater::doDeflateSegment( uno::Sequence< sal_Int8 >& rBuffe
OSL_ASSERT( !(nNewOffset < 0 || nNewLength < 0 || nNewOffset + nNewLength > rBuffer.getLength()));
return doDeflateBytes(rBuffer, nNewOffset, nNewLength);
}
-sal_Int32 SAL_CALL Deflater::getTotalIn( )
+sal_Int64 SAL_CALL Deflater::getTotalIn( )
{
- return pStream->total_in;
+ return pStream->total_in; // FIXME64: zlib doesn't look 64bit clean here
}
-sal_Int32 SAL_CALL Deflater::getTotalOut( )
+sal_Int64 SAL_CALL Deflater::getTotalOut( )
{
- return pStream->total_out;
+ return pStream->total_out; // FIXME64: zlib doesn't look 64bit clean here
}
void SAL_CALL Deflater::reset( )
{