mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
dec/vp8l/DecodeAlphaData: remove redundant cast
'pos' has been an int since:
c34307a
fix some VS9 warnings about type conversion
Change-Id: I56195d4f15278fa268be52a7bfe24b94554890c4
This commit is contained in:
parent
90fcfcd905
commit
77fb41c2f1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user