summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c3
1 files changed, 2 insertions, 1 deletions
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;