enc/vp8l: add a missing cast

Change-Id: I2c1800516eb4573ae2599866ace10017b865f23a
This commit is contained in:
James Zern 2013-11-25 20:48:13 -08:00
parent 46db286572
commit 617d93480e

View File

@ -892,7 +892,7 @@ static WebPEncodingError EncodePalette(VP8LBitWriter* const bw,
if (err != VP8_ENC_OK) goto Error;
dst = enc->argb_;
row = WebPSafeMalloc((uint64_t)width, sizeof(*row));
row = (uint8_t*)WebPSafeMalloc((uint64_t)width, sizeof(*row));
if (row == NULL) return VP8_ENC_ERROR_OUT_OF_MEMORY;
ApplyPalette(src, dst, pic->argb_stride, enc->current_width_,