From 15b4f494fc6bddb8178fdb5aed18b420efc75e22 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 8 Sep 2016 16:03:46 +0200 Subject: mss*: Change type of array stride parameters to ptrdiff_t ptrdiff_t is the correct type for array strides and similar. --- libavcodec/mss12.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavcodec/mss12.h') diff --git a/libavcodec/mss12.h b/libavcodec/mss12.h index 5b1fee8913..8cad5dcedc 100644 --- a/libavcodec/mss12.h +++ b/libavcodec/mss12.h @@ -77,12 +77,12 @@ typedef struct MSS12Context { uint32_t pal[256]; uint8_t *pal_pic; uint8_t *last_pal_pic; - int pal_stride; + ptrdiff_t pal_stride; uint8_t *mask; - int mask_stride; + ptrdiff_t mask_stride; uint8_t *rgb_pic; uint8_t *last_rgb_pic; - int rgb_stride; + ptrdiff_t rgb_stride; int free_colours; int keyframe; int mvX, mvY; -- cgit v1.2.3