aboutsummaryrefslogtreecommitdiff
path: root/src/adpcm/adpcm.cpp
diff options
context:
space:
mode:
authorLadislav Zezula <ladislav.zezula@avg.com>2014-01-13 12:25:48 +0100
committerLadislav Zezula <ladislav.zezula@avg.com>2014-01-13 12:25:48 +0100
commit8fa3f25f3e2654bfc1d4ff9caa0b9c849b8ee514 (patch)
tree8a9090d1f9924d8fbf02ab6bdea3e086553d22ff /src/adpcm/adpcm.cpp
parenta70a9800220851555272cab6a61e2bb00b867ffb (diff)
+ Removed warnings from MINGW
+ Fixed Win32 makefile
Diffstat (limited to 'src/adpcm/adpcm.cpp')
-rw-r--r--src/adpcm/adpcm.cpp4
1 files changed, 2 insertions, 2 deletions
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