Changed: #825 Remove all warning when compiling Ryzom on Linux
This commit is contained in:
parent
79cc68a5a3
commit
58e005c29b
3 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ SZ_RESULT SzFileSeekImp(void *object, CFileSize pos)
|
|||
return SZE_FAIL;
|
||||
}
|
||||
|
||||
void PrintError(char *sz)
|
||||
void PrintError(const char *sz)
|
||||
{
|
||||
printf("\nERROR: %s\n", sz);
|
||||
}
|
||||
|
@ -179,7 +179,7 @@ int main(int numargs, char *args[])
|
|||
if (!testCommand)
|
||||
{
|
||||
FILE *outputHandle;
|
||||
UInt32 processedSize;
|
||||
size_t processedSize;
|
||||
char *fileName = f->Name;
|
||||
size_t nameLen = strlen(f->Name);
|
||||
for (; nameLen > 0; nameLen--)
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
StopCompilingDueBUG
|
||||
#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;
|
||||
if (size < LZMA_PROPERTIES_SIZE)
|
||||
|
|
|
@ -68,7 +68,7 @@ typedef struct _CLzmaProperties
|
|||
#endif
|
||||
}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)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue