From 83642e9a9d3bc3f745b1a1a4c43136a1173c11d0 Mon Sep 17 00:00:00 2001 From: Michael Platzer <michael.platzer@tuwien.ac.at> Date: Wed, 1 Apr 2020 12:34:22 +0200 Subject: [PATCH] sequential/h264_dec: add an explicit signed/unsigned before each char --- bench/sequential/h264_dec/h264_dec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bench/sequential/h264_dec/h264_dec.c b/bench/sequential/h264_dec/h264_dec.c index a5956555..0ddb4cc5 100755 --- a/bench/sequential/h264_dec/h264_dec.c +++ b/bench/sequential/h264_dec/h264_dec.c @@ -47,8 +47,8 @@ extern signed char h264_dec_mv_array[ 65 ][ 65 ][ 2 ]; extern short h264_dec_list_imgUV[ 2 ][ 45 ][ 45 ]; extern int h264_dec_img_m7[ 16 ][ 16 ]; -char h264_dec_img_mpr[ 7 ][ 7 ]; -char h264_dec_dec_picture_imgUV[ 2 ][ 64 ][ 54 ]; +signed char h264_dec_img_mpr[ 7 ][ 7 ]; +signed char h264_dec_dec_picture_imgUV[ 2 ][ 64 ][ 54 ]; struct h264_dec_img_par h264_dec_img; @@ -66,7 +66,7 @@ void h264_dec_init () { unsigned int i; unsigned char *p; - volatile char bitmask = 0; + volatile signed char bitmask = 0; /* Apply volatile XOR-bitmask to entire input array. -- GitLab