diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-07-23 14:06:13 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-07-23 14:06:13 +0000 |
commit | 39e5c04da73139a7b71292e95fc45ea729bcd63e (patch) | |
tree | c52076ac8f906da40baa315f397e15060e8044b1 /amiga/iff_dr2d.c | |
parent | cd21f4035f881424d7fa150dd04693de313be841 (diff) | |
download | netsurf-39e5c04da73139a7b71292e95fc45ea729bcd63e.tar.gz netsurf-39e5c04da73139a7b71292e95fc45ea729bcd63e.tar.bz2 |
Fix warnings
svn path=/trunk/netsurf/; revision=12616
Diffstat (limited to 'amiga/iff_dr2d.c')
-rw-r--r-- | amiga/iff_dr2d.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/amiga/iff_dr2d.c b/amiga/iff_dr2d.c index dfc152827..1787e1e9f 100644 --- a/amiga/iff_dr2d.c +++ b/amiga/iff_dr2d.c @@ -65,7 +65,8 @@ void addcolour(ULONG newcol) } } -bool ami_svg_to_dr2d(struct IFFHandle *iffh,char *buffer, uint32 size, char *url) +bool ami_svg_to_dr2d(struct IFFHandle *iffh, const char *buffer, + uint32 size, const char *url) { struct svgtiny_diagram *diagram; svgtiny_code code; @@ -304,7 +305,7 @@ bool ami_svg_to_dr2d(struct IFFHandle *iffh,char *buffer, uint32 size, char *url bool ami_save_svg(struct hlcache_handle *c,char *filename) { struct IFFHandle *iffh; - char *source_data; + const char *source_data; ULONG source_size; if(!ami_download_check_overwrite(filename, NULL)) return false; |