blob: fa9ad60cbc4e1f30455d801b63eff02f1bd9305f [file] [log] [blame]
--- a/src/png.c
+++ b/src/png.c
@@ -40,7 +40,7 @@
}
}
- png_memcpy(data, buffer_ptr(im->buf), len);
+ memcpy(data, buffer_ptr(im->buf), len);
buffer_consume(im->buf, len);
goto ok;