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/adpcm/adpcm.cpp | |
parent | a70a9800220851555272cab6a61e2bb00b867ffb (diff) |
+ Removed warnings from MINGW
+ Fixed Win32 makefile
Diffstat (limited to 'src/adpcm/adpcm.cpp')
-rw-r--r-- | src/adpcm/adpcm.cpp | 4 |
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 |