From f552452b9fc294c6ede2eb44f70d016b8bf7d415 Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Wed, 8 Aug 2007 15:44:27 +0000 Subject: [PATCH] Fix warning with rsvg svn path=/trunk/netsurf/; revision=3485 --- image/rsvg.c | 2 +- image/rsvg.h | 2 +- 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,