From 617d93480e8901669f29116b5d9c478f40e5c407 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 25 Nov 2013 20:48:13 -0800 Subject: [PATCH] enc/vp8l: add a missing cast Change-Id: I2c1800516eb4573ae2599866ace10017b865f23a --- src/enc/vp8l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enc/vp8l.c b/src/enc/vp8l.c index 6c53a1d8..2ce29a2a 100644 --- a/src/enc/vp8l.c +++ b/src/enc/vp8l.c @@ -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_,