From af2cc5bc2e13a61e6ab3d495d3edb34d94a42964 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 30 Sep 2011 20:19:44 -0700 Subject: Add const attributes to clear gcc -Wwrite-strings warnings Signed-off-by: Alan Coopersmith Reviewed-by: Jeremy Huddleston --- print_render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print_render.c') diff --git a/print_render.c b/print_render.c index f4dbee0..b6053e8 100644 --- a/print_render.c +++ b/print_render.c @@ -390,7 +390,7 @@ RenderFreeGlyphSet (FD fd, const unsigned char *buf) } static void -PrintGlyphs(const unsigned char *buf, int n, char *name) +PrintGlyphs(const unsigned char *buf, int n, const char *name) { const unsigned char *gids; const unsigned char *glyphs; @@ -452,7 +452,7 @@ RenderFreeGlyphs (FD fd, const unsigned char *buf) } static void -PrintGlyphList(const unsigned char *buf, int length, char *name, int size) +PrintGlyphList(const unsigned char *buf, int length, const char *name, int size) { short n; -- cgit v1.2.1