Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2250)

Unified Diff: webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.c

Issue 1230693002: Update audio code to use size_t more correctly, (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Review comments Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.c
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.c b/webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.c
index 30c7a034cca052ef0e52b195f2fff787cf175d24..b6cc2406831952e7395b1cdb8d102318a2963da9 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.c
+++ b/webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.c
@@ -28,9 +28,9 @@ void WebRtcIlbcfix_NearestNeighbor(
int16_t *index, /* (o) index of array element closest to value */
int16_t *array, /* (i) data array (Q2) */
int16_t value, /* (i) value (Q2) */
- int16_t arlength /* (i) dimension of data array (==8) */
+ size_t arlength /* (i) dimension of data array (==8) */
){
- int i;
+ size_t i;
int16_t diff;
/* Stack based */
int32_t crit[8];
« no previous file with comments | « webrtc/modules/audio_coding/codecs/ilbc/nearest_neighbor.h ('k') | webrtc/modules/audio_coding/codecs/ilbc/refiner.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698