From 43a99ab683d14c4a11d5fbeaef90d68c84e345fb Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 3 Apr 2010 16:37:36 +0000 Subject: Constify data parameter to *_process_data svn path=/trunk/netsurf/; revision=10234 --- image/png.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'image/png.h') diff --git a/image/png.h b/image/png.h index 63056c8e4..253e685ad 100644 --- a/image/png.h +++ b/image/png.h @@ -43,7 +43,7 @@ struct content_png_data { }; bool nspng_create(struct content *c, const struct http_parameter *params); -bool nspng_process_data(struct content *c, char *data, unsigned int size); +bool nspng_process_data(struct content *c, const char *data, unsigned int size); bool nspng_convert(struct content *c); void nspng_destroy(struct content *c); bool nspng_redraw(struct content *c, int x, int y, -- cgit v1.2.3