From 8fa3f25f3e2654bfc1d4ff9caa0b9c849b8ee514 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Mon, 13 Jan 2014 12:25:48 +0100 Subject: + Removed warnings from MINGW + Fixed Win32 makefile --- src/sparse/sparse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sparse') diff --git a/src/sparse/sparse.cpp b/src/sparse/sparse.cpp index dd65c82..dc988ba 100644 --- a/src/sparse/sparse.cpp +++ b/src/sparse/sparse.cpp @@ -260,7 +260,7 @@ int DecompressSparse(void * pvOutBuffer, int * pcbOutBuffer, void * pvInBuffer, cbOutBuffer |= (OneByte << 0x00); // Verify the size of the stream against the output buffer size - if(cbOutBuffer > *pcbOutBuffer) + if(cbOutBuffer > (unsigned int)*pcbOutBuffer) return 0; // Put the output size to the buffer -- cgit v1.2.3