diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-30 20:19:44 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-30 20:19:44 -0700 |
commit | af2cc5bc2e13a61e6ab3d495d3edb34d94a42964 (patch) | |
tree | f3cf6b505190ac41b4c683ef74e1b9e6ff5e8c6c /print_render.c | |
parent | 7fbf2ff3c925a0cc55024bc8350ad9e9bf8d1e47 (diff) | |
download | xscope-af2cc5bc2e13a61e6ab3d495d3edb34d94a42964.tar.gz |
Add const attributes to clear gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'print_render.c')
-rw-r--r-- | print_render.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |