diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/dvi.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index 4a3554d93cd..27a4ba55300 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,7 @@ +2014-08-16 Peter Breitenlohner <peb@mppmu.mpg.de> + + * dvi.c: Drop unused variable. Use "%lu" for unsigned long vars. + 2014-08-16 Khaled Hosny <khaledhosny@eglug.org> * dvi.c, dvicodes.h, fontmap.c, fontmap.h: Switch to XDV version 6 diff --git a/Build/source/texk/dvipdfm-x/dvi.c b/Build/source/texk/dvipdfm-x/dvi.c index 7f02da44a1a..3cc17e8821b 100644 --- a/Build/source/texk/dvipdfm-x/dvi.c +++ b/Build/source/texk/dvipdfm-x/dvi.c @@ -1031,7 +1031,7 @@ dvi_locate_native_font (const char *filename, unsigned long index, cur_id = num_loaded_fonts++; - sprintf(fontmap_key, "%s/%d/%c/%d/%d/%d", filename, index, layout_dir == 0 ? 'H' : 'V', extend, slant, embolden); + sprintf(fontmap_key, "%s/%lu/%c/%d/%d/%d", filename, index, layout_dir == 0 ? 'H' : 'V', extend, slant, embolden); mrec = pdf_lookup_fontmap_record(fontmap_key); if (mrec == NULL) { if (pdf_load_native_font(filename, index, layout_dir, extend, slant, embolden) == -1) { @@ -1887,7 +1887,7 @@ do_native_font_def (int scanning) read_native_font_record(tex_id); } else { UNSIGNED_PAIR flags; - int name_length, nvars, i; + int name_length, i; get_unsigned_quad(dvi_file); /* skip point size */ flags = get_unsigned_pair(dvi_file); |