[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kio/kio
From: David Faure <faure () kde ! org>
Date: 2009-08-20 12:22:37
Message-ID: 1250770957.639559.16861.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1013670 by dfaure:
Just in case: use 64 bit for the offsets here as well. Makes sense since this is used \
in pos() and seek() calls.
M +2 -2 kzip.cpp
--- trunk/KDE/kdelibs/kio/kio/kzip.cpp #1013669:1013670
@@ -327,7 +327,7 @@
// where new data can be appended. after openarchive it points to 0, when in
// writeonly mode, or it points to the beginning of the central directory.
// each call to writefile updates this value.
- unsigned int m_offset;
+ quint64 m_offset;
};
KZip::KZip( const QString& fileName )
@@ -361,7 +361,7 @@
// Check that it's a valid ZIP file
// KArchive::open() opened the underlying device already.
- uint offset = 0; // holds offset, where we read
+ quint64 offset = 0; // holds offset, where we read
int n;
// contains information gathered from the local file headers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic