aboutsummaryrefslogtreecommitdiff
path: root/src/adpcm/adpcm.cpp
diff options
context:
space:
mode:
authorZezula Ladislav <ladislav.zezula@avast.com>2018-04-03 15:13:41 +0200
committerZezula Ladislav <ladislav.zezula@avast.com>2018-04-03 15:13:41 +0200
commit67fde87202c8ad1bb2d23e2ecb69ddeb215e6c8f (patch)
tree6c962beda9af4d178d110e43261e202b2204e4b4 /src/adpcm/adpcm.cpp
parent008a48ed998dedcae4a6c7646c8f8562eb8af906 (diff)
+ Fixed build warnings in VS 2015
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 e551bda..c8086ab 100644
--- a/src/adpcm/adpcm.cpp
+++ b/src/adpcm/adpcm.cpp
@@ -101,9 +101,9 @@ class TADPCMStream
return true;
}
- int LengthProcessed(void * pvBuffer)
+ int LengthProcessed(void * pvOutBuffer)
{
- return pbBuffer - (unsigned char *)pvBuffer;
+ return (int)((unsigned char *)pbBuffer - (unsigned char *)pvOutBuffer);
}
unsigned char * pbBufferEnd;