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

pull/40/head
Jason Williams 12 years ago committed by Mark Adler
parent 27b7723222
commit 00dfee0b2e
  1. 4
      contrib/testzlib/testzlib.c

@ -116,10 +116,10 @@ DWORD GetMsecSincePerfCounter(LARGE_INTEGER beginTime64,BOOL fComputeTimeQueryPe
return dwRet;
}
int ReadFileMemory(const char* filename,long* plFileSize,void** pFilePtr)
int ReadFileMemory(const char* filename,long* plFileSize,unsigned char** pFilePtr)
{
FILE* stream;
void* ptr;
unsigned char* ptr;
int retVal=1;
stream=fopen(filename, "rb");
if (stream==NULL)

Loading…
Cancel
Save