Make gzip_read() expect a void * buffer argument to avoid signed vs unsigned
char mismatch warnings.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
return 0;
}
-ssize_t gzip_read(struct gzip_handle * zh, char *buf, ssize_t len)
+ssize_t gzip_read(struct gzip_handle * zh, void *buf, ssize_t len)
{
ssize_t ret;
};
int gzip_exec(struct gzip_handle *zh, const char *filename);
-ssize_t gzip_read(struct gzip_handle *zh, char *buf, ssize_t len);
+ssize_t gzip_read(struct gzip_handle *zh, void *buf, ssize_t len);
ssize_t gzip_copy(struct gzip_handle *zh, FILE * out, ssize_t len);
int gzip_close(struct gzip_handle *zh);
FILE *gzip_fdopen(struct gzip_handle *zh, const char *filename);