diff options
author | Ladislav Zezula <ladislav.zezula@avg.com> | 2014-01-13 12:25:48 +0100 |
---|---|---|
committer | Ladislav Zezula <ladislav.zezula@avg.com> | 2014-01-13 12:25:48 +0100 |
commit | 8fa3f25f3e2654bfc1d4ff9caa0b9c849b8ee514 (patch) | |
tree | 8a9090d1f9924d8fbf02ab6bdea3e086553d22ff /src/sparse/sparse.cpp | |
parent | a70a9800220851555272cab6a61e2bb00b867ffb (diff) |
+ Removed warnings from MINGW
+ Fixed Win32 makefile
Diffstat (limited to 'src/sparse/sparse.cpp')
-rw-r--r-- | src/sparse/sparse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |