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/adpcm/adpcm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/adpcm/adpcm.cpp') diff --git a/src/adpcm/adpcm.cpp b/src/adpcm/adpcm.cpp index d05fca6..7805dc5 100644 --- a/src/adpcm/adpcm.cpp +++ b/src/adpcm/adpcm.cpp @@ -79,7 +79,7 @@ class TADPCMStream bool ReadWordSample(short & OneSample) { // Check if we have enough space in the output buffer - if((pbBufferEnd - pbBuffer) < sizeof(short)) + if((size_t)(pbBufferEnd - pbBuffer) < sizeof(short)) return false; // Write the sample @@ -91,7 +91,7 @@ class TADPCMStream bool WriteWordSample(short OneSample) { // Check if we have enough space in the output buffer - if((pbBufferEnd - pbBuffer) < sizeof(short)) + if((size_t)(pbBufferEnd - pbBuffer) < sizeof(short)) return false; // Write the sample -- cgit v1.2.3