summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
Diffstat (limited to 'image')
-rw-r--r--image/rsvg.c2
-rw-r--r--image/rsvg.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/image/rsvg.c b/image/rsvg.c
index 0a2493ba0..1579f87eb 100644
--- a/image/rsvg.c
+++ b/image/rsvg.c
@@ -58,7 +58,7 @@ bool rsvg_create(struct content *c, const char *params[])
return true;
}
-bool rsvg_process_data(struct content *c, const char *data,
+bool rsvg_process_data(struct content *c, char *data,
unsigned int size)
{
struct content_rsvg_data *d = &c->data.rsvg;
diff --git a/image/rsvg.h b/image/rsvg.h
index 704b434bc..82fdbccf0 100644
--- a/image/rsvg.h
+++ b/image/rsvg.h
@@ -28,7 +28,7 @@ struct content_rsvg_data {
};
bool rsvg_create(struct content *c, const char *params[]);
-bool rsvg_process_data(struct content *c, const char *data, unsigned int size);
+bool rsvg_process_data(struct content *c, char *data, unsigned int size);
bool rsvg_convert(struct content *c, int width, int height);
void rsvg_destroy(struct content *c);
bool rsvg_redraw(struct content *c, int x, int y,