From 77fb41c2f10b4a58ae0a2e553f37c595ed9706c7 Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 18 Aug 2015 18:52:43 -0700 Subject: [PATCH] dec/vp8l/DecodeAlphaData: remove redundant cast 'pos' has been an int since: c34307a fix some VS9 warnings about type conversion Change-Id: I56195d4f15278fa268be52a7bfe24b94554890c4 --- src/dec/vp8l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dec/vp8l.c b/src/dec/vp8l.c index 97b23a61..b8966232 100644 --- a/src/dec/vp8l.c +++ b/src/dec/vp8l.c @@ -960,7 +960,7 @@ static int DecodeAlphaData(VP8LDecoder* const dec, uint8_t* const data, dec->status_ = br->eos_ ? VP8_STATUS_SUSPENDED : VP8_STATUS_BITSTREAM_ERROR; } else { - dec->last_pixel_ = (int)pos; + dec->last_pixel_ = pos; } return ok; }