Index: webrtc/modules/audio_coding/codecs/g722/g722_encode.c |
diff --git a/webrtc/modules/audio_coding/codecs/g722/g722_encode.c b/webrtc/modules/audio_coding/codecs/g722/g722_encode.c |
index bed2d218b19adfe606e790808924fc13be5a472b..01ec127ca18d5215a86ad53dd5768e4bbdddbb1e 100644 |
--- a/webrtc/modules/audio_coding/codecs/g722/g722_encode.c |
+++ b/webrtc/modules/audio_coding/codecs/g722/g722_encode.c |
@@ -202,8 +202,8 @@ int16_t limitValues (int16_t rl) |
} |
#endif |
-int WebRtc_g722_encode(G722EncoderState *s, uint8_t g722_data[], |
- const int16_t amp[], int len) |
+size_t WebRtc_g722_encode(G722EncoderState *s, uint8_t g722_data[], |
+ const int16_t amp[], size_t len) |
{ |
static const int q6[32] = |
{ |
@@ -275,11 +275,11 @@ int WebRtc_g722_encode(G722EncoderState *s, uint8_t g722_data[], |
int eh; |
int mih; |
int i; |
- int j; |
+ size_t j; |
/* Low and high band PCM from the QMF */ |
int xlow; |
int xhigh; |
- int g722_bytes; |
+ size_t g722_bytes; |
/* Even and odd tap accumulators */ |
int sumeven; |
int sumodd; |