From 6208a8130a086fd8c4ae2131b99c6e4e786e472d Mon Sep 17 00:00:00 2001 From: rti Date: Sun, 13 Jun 2010 02:12:42 +0200 Subject: [PATCH] Fixed: LzmaDecode, use SizeT typedef --- code/ryzom/client/src/seven_zip/LzmaDecode.cpp | 2 +- code/ryzom/client/src/seven_zip/LzmaDecode.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/seven_zip/LzmaDecode.cpp b/code/ryzom/client/src/seven_zip/LzmaDecode.cpp index 630ddba00..d66ec3589 100644 --- a/code/ryzom/client/src/seven_zip/LzmaDecode.cpp +++ b/code/ryzom/client/src/seven_zip/LzmaDecode.cpp @@ -117,7 +117,7 @@ StopCompilingDueBUG #endif -int LzmaDecodeProperties(CLzmaProperties *propsRes, const unsigned char *propsData, size_t size) +int LzmaDecodeProperties(CLzmaProperties *propsRes, const unsigned char *propsData, SizeT size) { unsigned char prop0; if (size < LZMA_PROPERTIES_SIZE) diff --git a/code/ryzom/client/src/seven_zip/LzmaDecode.h b/code/ryzom/client/src/seven_zip/LzmaDecode.h index 5c7bc3ce1..b80996712 100644 --- a/code/ryzom/client/src/seven_zip/LzmaDecode.h +++ b/code/ryzom/client/src/seven_zip/LzmaDecode.h @@ -68,7 +68,7 @@ typedef struct _CLzmaProperties #endif }CLzmaProperties; -int LzmaDecodeProperties(CLzmaProperties *propsRes, const unsigned char *propsData, size_t size); +int LzmaDecodeProperties(CLzmaProperties *propsRes, const unsigned char *propsData, SizeT size); #define LzmaGetNumProbs(Properties) (LZMA_BASE_SIZE + (LZMA_LIT_SIZE << ((Properties)->lc + (Properties)->lp)))