Skip to content
Snippets Groups Projects
Commit 5735552f authored by Diego Biurrun's avatar Diego Biurrun
Browse files

pngenc: Drop pointless pointer cast in png_write_row()

parent a786c825
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment