Index: webrtc/modules/audio_coding/codecs/ilbc/swap_bytes.c |
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/swap_bytes.c b/webrtc/modules/audio_coding/codecs/ilbc/swap_bytes.c |
index 8bbac42b1ccd8844db3b7b13c74978010fe9c630..b795e56ac4470d1590e82b0ff4fa4114c83a12e4 100644 |
--- a/webrtc/modules/audio_coding/codecs/ilbc/swap_bytes.c |
+++ b/webrtc/modules/audio_coding/codecs/ilbc/swap_bytes.c |
@@ -24,10 +24,10 @@ |
void WebRtcIlbcfix_SwapBytes( |
const uint16_t* input, /* (i) the sequence to swap */ |
- int16_t wordLength, /* (i) number or uint16_t to swap */ |
+ size_t wordLength, /* (i) number or uint16_t to swap */ |
uint16_t* output /* (o) the swapped sequence */ |
) { |
- int k; |
+ size_t k; |
for (k = wordLength; k > 0; k--) { |
*output++ = (*input >> 8)|(*input << 8); |
input++; |