From d344ab03cc7034b64fcdd5eccf8216009af703d5 Mon Sep 17 00:00:00 2001 From: Shiyou Yin Date: Tue, 23 Jan 2018 11:33:25 +0800 Subject: [PATCH] vp8: [loongson] fix bug of type conflict. In commit 577d4fa79, int8_t was used to replace char. This will result in a compilation error, for int8_t was typedefined to signed char, but not char. Change-Id: I5c9837e01b0b58688a7741f5c9a99a76ca887e4a --- vp8/common/mips/mmi/idct_blk_mmi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vp8/common/mips/mmi/idct_blk_mmi.c b/vp8/common/mips/mmi/idct_blk_mmi.c index f6020ab46..3f6907174 100644 --- a/vp8/common/mips/mmi/idct_blk_mmi.c +++ b/vp8/common/mips/mmi/idct_blk_mmi.c @@ -12,7 +12,7 @@ #include "vpx_mem/vpx_mem.h" void vp8_dequant_idct_add_y_block_mmi(int16_t *q, int16_t *dq, uint8_t *dst, - int stride, int8_t *eobs) { + int stride, char *eobs) { int i, j; for (i = 0; i < 4; i++) { @@ -33,8 +33,7 @@ void vp8_dequant_idct_add_y_block_mmi(int16_t *q, int16_t *dq, uint8_t *dst, } void vp8_dequant_idct_add_uv_block_mmi(int16_t *q, int16_t *dq, uint8_t *dstu, - uint8_t *dstv, int stride, - int8_t *eobs) { + uint8_t *dstv, int stride, char *eobs) { int i, j; for (i = 0; i < 2; i++) { -- 2.40.0