pngenc: Drop pointless pointer cast in png_write_row()

This commit is contained in:
Diego Biurrun 2014-07-29 08:43:40 -07:00
parent a786c8259d
commit 5735552f1f

View File

@ -213,7 +213,7 @@ static int png_write_row(PNGEncContext *s, const uint8_t *data, int size)
int ret;
s->zstream.avail_in = size;
s->zstream.next_in = (uint8_t *)data;
s->zstream.next_in = data;
while (s->zstream.avail_in > 0) {
ret = deflate(&s->zstream, Z_NO_FLUSH);
if (ret != Z_OK)