mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 07:16:15 +00:00
Fixed: LzmaDecode, use SizeT typedef
This commit is contained in:
parent
e90325c111
commit
b939982a97
2 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@
|
||||||
StopCompilingDueBUG
|
StopCompilingDueBUG
|
||||||
#endif
|
#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;
|
unsigned char prop0;
|
||||||
if (size < LZMA_PROPERTIES_SIZE)
|
if (size < LZMA_PROPERTIES_SIZE)
|
||||||
|
|
|
@ -68,7 +68,7 @@ typedef struct _CLzmaProperties
|
||||||
#endif
|
#endif
|
||||||
}CLzmaProperties;
|
}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)))
|
#define LzmaGetNumProbs(Properties) (LZMA_BASE_SIZE + (LZMA_LIT_SIZE << ((Properties)->lc + (Properties)->lp)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue