From f5a2c9816e0b58edf2a87297be8d648631fc3432 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 9 Oct 2008 08:36:04 +0000 Subject: [PATCH] Change variable types from int to enum PixelFormat. Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 27733 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index f3afb1669..577a0dfa9 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1716,8 +1716,8 @@ static int YUV422PToUyvyWrapper(SwsContext *c, uint8_t* src[], int srcStride[], static int pal2rgbWrapper(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]){ - const int srcFormat= c->srcFormat; - const int dstFormat= c->dstFormat; + const enum PixelFormat srcFormat= c->srcFormat; + const enum PixelFormat dstFormat= c->dstFormat; void (*conv)(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette)=NULL; int i; -- 2.34.1