diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-01-10 14:08:15 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-01-10 14:08:15 +0000 |
commit | 0b095c9b5835bd49a04f77262f8007542330d140 (patch) | |
tree | 13a2297f430c3c0cf1328f18d116fe4092ebf3f5 /Build/source/texk/web2c/pdftexdir/writet1.c | |
parent | 4a436b90db469ffdab8ae4fea378e64ecf3f4b20 (diff) |
luaTeX, pdfTeX: Avoid various gcc warnings
git-svn-id: svn://tug.org/texlive/trunk@28788 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/writet1.c')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/writet1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/writet1.c b/Build/source/texk/web2c/pdftexdir/writet1.c index bb2ded5aefb..02a5a483a73 100644 --- a/Build/source/texk/web2c/pdftexdir/writet1.c +++ b/Build/source/texk/web2c/pdftexdir/writet1.c @@ -240,7 +240,7 @@ char **load_enc_file(char *enc_name) } glyph_names = xtalloc(256, char *); for (i = 0; i < 256; i++) - glyph_names[i] = (char *) notdef; + glyph_names[i] = notdef; t1_log("{"); t1_log(cur_file_name = (char *) nameoffile + 1); enc_getline(); @@ -753,7 +753,7 @@ static void copy_glyph_names(char **glyph_names, int a, int b) { if (glyph_names[b] != notdef) { xfree(glyph_names[b]); - glyph_names[b] = (char *) notdef; + glyph_names[b] = notdef; } if (glyph_names[a] != notdef) { glyph_names[b] = xstrdup(glyph_names[a]); @@ -769,7 +769,7 @@ static char **t1_builtin_enc(void) /* At this moment "/Encoding" is the prefix of t1_line_array */ glyph_names = xtalloc(256, char *); for (i = 0; i < 256; i++) - glyph_names[i] = (char *) notdef; + glyph_names[i] = notdef; if (t1_suffix("def")) { /* predefined encoding */ sscanf(t1_line_array + strlen("/Encoding"), "%256s", t1_buf_array); if (strcmp(t1_buf_array, "StandardEncoding") == 0) { @@ -967,7 +967,7 @@ static void cs_store(boolean is_subr) pdftex_fail ("CharStrings dict: more entries than dict size (%i)", cs_size); if (strcmp(t1_buf_array + 1, notdef) == 0) /* skip the slash */ - ptr->name = (char *) notdef; + ptr->name = notdef; else ptr->name = xstrdup(t1_buf_array + 1); } |