Fixed: LzmaDecode, use SizeT typedef

This commit is contained in:
rti 2010-06-13 02:12:42 +02:00
parent e8166f3a75
commit dbb76e53cd
2 changed files with 2 additions and 2 deletions

View file

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

View file

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