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)))