diff options
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 |