summaryrefslogtreecommitdiff
path: root/vpx_dsp/mips/add_noise_msa.c
diff options
context:
space:
mode:
authorJohann Koenig <johannkoenig@google.com>2016-09-27 21:13:50 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-09-27 21:13:50 +0000
commit348cff040ae6893f46395f003fab336c858dec4d (patch)
treeab26ba82c0ea4dd8aa2632cc1dca13a0647143c4 /vpx_dsp/mips/add_noise_msa.c
parentb3ebea5e8a849a15ab3eb4b44f1d909f4119c552 (diff)
parentc3a135b5b88910ce9ebba7261b0284d3a39df2a2 (diff)
downloadlibvpx-348cff040ae6893f46395f003fab336c858dec4d.tar
libvpx-348cff040ae6893f46395f003fab336c858dec4d.tar.gz
libvpx-348cff040ae6893f46395f003fab336c858dec4d.tar.bz2
libvpx-348cff040ae6893f46395f003fab336c858dec4d.zip
Merge changes from topic 'wextra'
* changes: Expand -Wextra to more of the library mips: clean up wextra warnings Add compiler flag -Wsign-compare Add compiler warning flag -Wextra and fix related warnings.
Diffstat (limited to 'vpx_dsp/mips/add_noise_msa.c')
-rw-r--r--vpx_dsp/mips/add_noise_msa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpx_dsp/mips/add_noise_msa.c b/vpx_dsp/mips/add_noise_msa.c
index e372b9d8c..48278d2ec 100644
--- a/vpx_dsp/mips/add_noise_msa.c
+++ b/vpx_dsp/mips/add_noise_msa.c
@@ -14,7 +14,7 @@
void vpx_plane_add_noise_msa(uint8_t *start_ptr, const int8_t *noise,
int blackclamp, int whiteclamp, int width,
int height, int32_t pitch) {
- uint32_t i, j;
+ int i, j;
for (i = 0; i < height / 2; ++i) {
uint8_t *pos0_ptr = start_ptr + (2 * i) * pitch;