From 00dfee0b2e235bcdb5321dd3bde199ee716a2f64 Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Tue, 27 Nov 2012 07:27:06 +0300 Subject: [PATCH] Fix casting error in contrib/testzlib/testzlib.c. --- contrib/testzlib/testzlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/testzlib/testzlib.c b/contrib/testzlib/testzlib.c index 135888e..5f659de 100644 --- a/contrib/testzlib/testzlib.c +++ b/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)