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 --- render/textplain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'render/textplain.c') diff --git a/render/textplain.c b/render/textplain.c index c259a8b07..8983fc2a9 100644 --- a/render/textplain.c +++ b/render/textplain.c @@ -133,7 +133,8 @@ no_memory: * Process data for CONTENT_TEXTPLAIN. */ -bool textplain_process_data(struct content *c, char *data, unsigned int size) +bool textplain_process_data(struct content *c, + const char *data, unsigned int size) { iconv_t iconv_cd = c->data.textplain.iconv_cd; size_t count; -- cgit v1.2.3