summaryrefslogtreecommitdiff
path: root/gzip.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2005-07-12 04:23:32 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2005-07-12 04:23:32 +0000
commitd5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47 (patch)
tree4b03760892a97a9bc452ebe8b7793bbebd402ad4 /gzip.h
parentfa39f51809b4da54a5c2adb3e183b1a625cefb92 (diff)
downloadcryptopp-d5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47.tar.gz
port to MSVC .NET 2005 beta 2
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@198 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'gzip.h')
-rw-r--r--gzip.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gzip.h b/gzip.h
index 211d085..f3148ad 100644
--- a/gzip.h
+++ b/gzip.h
@@ -21,10 +21,10 @@ protected:
DEFLATED=8, FAST=4, SLOW=2};
void WritePrestreamHeader();
- void ProcessUncompressedData(const byte *string, unsigned int length);
+ void ProcessUncompressedData(const byte *string, size_t length);
void WritePoststreamTail();
- unsigned long m_totalLen;
+ word32 m_totalLen;
CRC32 m_crc;
};
@@ -52,11 +52,11 @@ protected:
unsigned int MaxPrestreamHeaderSize() const {return 1024;}
void ProcessPrestreamHeader();
- void ProcessDecompressedData(const byte *string, unsigned int length);
+ void ProcessDecompressedData(const byte *string, size_t length);
unsigned int MaxPoststreamTailSize() const {return 8;}
void ProcessPoststreamTail();
- unsigned long m_length;
+ word32 m_length;
CRC32 m_crc;
};