ref: 3d791194f85d68a1b880c35ea34117c508bd1b12
parent: f44db1487def493246529c9b90d1b96600effc72
author: James Zern <[email protected]>
date: Sat Jul 16 07:11:51 EDT 2016
vpx_plane_add_noise_c: normalize int types quiets signed/unsigned mismatch warning Change-Id: Iaabd7dfff110ba26056258457541f5635d2e85e6
--- a/vpx_dsp/add_noise.c
+++ b/vpx_dsp/add_noise.c
@@ -19,7 +19,7 @@
void vpx_plane_add_noise_c(uint8_t *start, const int8_t *noise, int blackclamp,
int whiteclamp, int width, int height, int pitch) {
- unsigned int i, j;
+ int i, j;
int bothclamp = blackclamp + whiteclamp;
for (i = 0; i < height; ++i) {
uint8_t *pos = start + i * pitch;