From 65c37b17f39210ff32ba3ec1415d5f5a3f8e86ff Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 25 Jan 2010 12:30:04 +0000 Subject: texk/web2c/luatexdir: compiler warnings git-svn-id: svn://tug.org/texlive/trunk@16817 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/luatexdir/font/tt_glyf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Build/source/texk/web2c/luatexdir/font/tt_glyf.c') diff --git a/Build/source/texk/web2c/luatexdir/font/tt_glyf.c b/Build/source/texk/web2c/luatexdir/font/tt_glyf.c index 1a7b1427430..1ca35e8800f 100644 --- a/Build/source/texk/web2c/luatexdir/font/tt_glyf.c +++ b/Build/source/texk/web2c/luatexdir/font/tt_glyf.c @@ -158,10 +158,10 @@ void tt_build_finish(struct tt_glyphs *g) static int glyf_cmp(const void *v1, const void *v2) { int cmp = 0; - struct tt_glyph_desc *sv1, *sv2; + const struct tt_glyph_desc *sv1, *sv2; - sv1 = (struct tt_glyph_desc *) v1; - sv2 = (struct tt_glyph_desc *) v2; + sv1 = (const struct tt_glyph_desc *) v1; + sv2 = (const struct tt_glyph_desc *) v2; if (sv1->gid == sv2->gid) cmp = 0; -- cgit v1.2.3