Fix casting error in contrib/testzlib/testzlib.c.
This commit is contained in:
parent
27b7723222
commit
00dfee0b2e
@ -116,10 +116,10 @@ DWORD GetMsecSincePerfCounter(LARGE_INTEGER beginTime64,BOOL fComputeTimeQueryPe
|
|||||||
return dwRet;
|
return dwRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ReadFileMemory(const char* filename,long* plFileSize,void** pFilePtr)
|
int ReadFileMemory(const char* filename,long* plFileSize,unsigned char** pFilePtr)
|
||||||
{
|
{
|
||||||
FILE* stream;
|
FILE* stream;
|
||||||
void* ptr;
|
unsigned char* ptr;
|
||||||
int retVal=1;
|
int retVal=1;
|
||||||
stream=fopen(filename, "rb");
|
stream=fopen(filename, "rb");
|
||||||
if (stream==NULL)
|
if (stream==NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user