mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Changed: #825 Remove all warning when compiling Ryzom on Linux
This commit is contained in:
parent
aa8eba9d99
commit
c0318a2823
3 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ SZ_RESULT SzFileSeekImp(void *object, CFileSize pos)
|
||||||
return SZE_FAIL;
|
return SZE_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PrintError(char *sz)
|
void PrintError(const char *sz)
|
||||||
{
|
{
|
||||||
printf("\nERROR: %s\n", sz);
|
printf("\nERROR: %s\n", sz);
|
||||||
}
|
}
|
||||||
|
@ -179,7 +179,7 @@ int main(int numargs, char *args[])
|
||||||
if (!testCommand)
|
if (!testCommand)
|
||||||
{
|
{
|
||||||
FILE *outputHandle;
|
FILE *outputHandle;
|
||||||
UInt32 processedSize;
|
size_t processedSize;
|
||||||
char *fileName = f->Name;
|
char *fileName = f->Name;
|
||||||
size_t nameLen = strlen(f->Name);
|
size_t nameLen = strlen(f->Name);
|
||||||
for (; nameLen > 0; nameLen--)
|
for (; nameLen > 0; nameLen--)
|
||||||
|
|
|
@ -117,7 +117,7 @@
|
||||||
StopCompilingDueBUG
|
StopCompilingDueBUG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int LzmaDecodeProperties(CLzmaProperties *propsRes, const unsigned char *propsData, int size)
|
int LzmaDecodeProperties(CLzmaProperties *propsRes, const unsigned char *propsData, size_t 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, int size);
|
int LzmaDecodeProperties(CLzmaProperties *propsRes, const unsigned char *propsData, size_t 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