vpx_plane_add_noise_c: normalize int types
quiets signed/unsigned mismatch warning Change-Id: Iaabd7dfff110ba26056258457541f5635d2e85e6
This commit is contained in:
parent
f44db1487d
commit
3d791194f8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user