diff --git a/postproc/yuv2rgb.c b/postproc/yuv2rgb.c
index ac5f8b7e91ac6f2377ce3f767f60b5c68a0730ce..10db46f4677278adafd387b0e0757dab8218b879 100644
--- a/postproc/yuv2rgb.c
+++ b/postproc/yuv2rgb.c
@@ -407,7 +407,7 @@ static void yuv2rgb_c_init (int bpp, int mode)
     uint32_t *table_32 = 0;
     uint16_t *table_16 = 0;
     uint8_t *table_8 = 0;
-    uint32_t entry_size = 0;
+    int entry_size = 0;
     void *table_r = 0, *table_g = 0, *table_b = 0;
 
     int crv = Inverse_Table_6_9[matrix_coefficients][0];