diff options
Diffstat (limited to 'Build/source/texk/dvipsk')
-rw-r--r-- | Build/source/texk/dvipsk/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipsk/writet1.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/Build/source/texk/dvipsk/ChangeLog b/Build/source/texk/dvipsk/ChangeLog index 1aa5e455efc..4b19c1f757e 100644 --- a/Build/source/texk/dvipsk/ChangeLog +++ b/Build/source/texk/dvipsk/ChangeLog @@ -1,3 +1,7 @@ +2013-01-18 Karl Berry <karl@tug.org> + + * writet1.c: apply diffs (cast removals) from pdftex. + 2012-12-17 Peter Breitenlohner <peb@mppmu.mpg.de> * squeeze/Makefile.am: Enable silent rules. diff --git a/Build/source/texk/dvipsk/writet1.c b/Build/source/texk/dvipsk/writet1.c index 498defeb847..7286ca2522b 100644 --- a/Build/source/texk/dvipsk/writet1.c +++ b/Build/source/texk/dvipsk/writet1.c @@ -1,5 +1,5 @@ /* -Copyright 1996-2011 Han The Thanh <thanh@pdftex.org> +Copyright 1996-2013 Han The Thanh <thanh@pdftex.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -335,7 +335,7 @@ char **load_enc_file(char *enc_name) set_cur_file_name(enc_name); glyph_names = (char **) mymalloc(256 * sizeof(char *)); for (i = 0; i < 256; i++) - glyph_names[i] = (char *) notdef; + glyph_names[i] = notdef; if (!enc_open()) { pdftex_warn("cannot open encoding file for reading"); cur_file_name = NULL; @@ -681,7 +681,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]); @@ -697,7 +697,7 @@ static char **t1_builtin_enc(void) /* At this moment "/Encoding" is the prefix of t1_line_array */ glyph_names = t1_builtin_glyph_names; 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) { @@ -863,7 +863,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); } |