diff options
Diffstat (limited to 'src/adpcm')
-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 |