Fix casting error in contrib/testzlib/testzlib.c.

This commit is contained in:
Jason Williams 2012-11-27 07:27:06 +03:00 committed by Mark Adler
parent 27b7723222
commit 00dfee0b2e

View File

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