summaryrefslogtreecommitdiff
path: root/package/source/zippackage/ZipPackageFolder.cxx
diff options
context:
space:
mode:
authorMartin Gallwey <mtg@openoffice.org>2000-12-01 09:50:49 +0000
committerMartin Gallwey <mtg@openoffice.org>2000-12-01 09:50:49 +0000
commitf2d26f84b462b5f41178ab0a1f74c1522df9963f (patch)
tree5094b0ad513789c3d3ab97dd0fd456513bbdf174 /package/source/zippackage/ZipPackageFolder.cxx
parent22bc0cdb46830d17f2880420b3b3fa915d885a6e (diff)
#80556# fix compiler warnings
Diffstat (limited to 'package/source/zippackage/ZipPackageFolder.cxx')
-rw-r--r--package/source/zippackage/ZipPackageFolder.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/source/zippackage/ZipPackageFolder.cxx b/package/source/zippackage/ZipPackageFolder.cxx
index 9aee87cfa9b1..7b144699e367 100644
--- a/package/source/zippackage/ZipPackageFolder.cxx
+++ b/package/source/zippackage/ZipPackageFolder.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ZipPackageFolder.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: mtg $ $Date: 2000-11-29 14:09:05 $
+ * last change: $Author: mtg $ $Date: 2000-12-01 10:50:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -332,7 +332,7 @@ void ZipPackageFolder::saveContents(rtl::OUString &rPath, std::vector < Manifest
xSeek->seek(0);
if (pStream->aEntry.nMethod == STORED)
{
- pStream->aEntry.nSize = pStream->aEntry.nCompressedSize = xSeek->getLength();
+ pStream->aEntry.nSize = pStream->aEntry.nCompressedSize = static_cast < sal_Int32 > (xSeek->getLength());
bTrackLength = sal_False;
}
}
@@ -341,7 +341,7 @@ void ZipPackageFolder::saveContents(rtl::OUString &rPath, std::vector < Manifest
while (1)
{
uno::Sequence < sal_Int8 > aSeq (65535);
- sal_Int64 nLength;
+ sal_Int32 nLength;
nLength = xStream->readBytes(aSeq, 65535);
if (nLength < 65535)
aSeq.realloc(nLength);