diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-07-30 10:52:21 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-07-30 10:52:21 +0000 |
commit | 35415781f9b07704a404491bd1092ec880cec8c1 (patch) | |
tree | 8ef82c1c99f866c6a6613be2706dae65801393a7 /Build/source/texk/xdvik | |
parent | f9d044b2d29a90fff44382daac27e20b65482a93 (diff) |
xdvik: avoid compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@23276 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik')
-rw-r--r-- | Build/source/texk/xdvik/ChangeLog.TL | 6 | ||||
-rw-r--r-- | Build/source/texk/xdvik/dvi-init.c | 2 | ||||
-rw-r--r-- | Build/source/texk/xdvik/font-open.c | 2 | ||||
-rw-r--r-- | Build/source/texk/xdvik/font-open.h | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/Build/source/texk/xdvik/ChangeLog.TL b/Build/source/texk/xdvik/ChangeLog.TL index 536ea493349..4f80b6ec59a 100644 --- a/Build/source/texk/xdvik/ChangeLog.TL +++ b/Build/source/texk/xdvik/ChangeLog.TL @@ -1,6 +1,12 @@ ChangeLog.TL: Changes for xdvik (TeX Live) ================================================== +2011-07-30 Peter Breitenlohner <peb@mppmu.mpg.de> + + * font-open.[ch] (font_open): Constify `char **' parameter. + * dvi-init.c (load_font): Cast font_open() argument to + `const char **'. + 2011-06-16 Peter Breitenlohner <peb@mppmu.mpg.de> * read-mapfile.c (read_map_file): Allow find_suffix() to return diff --git a/Build/source/texk/xdvik/dvi-init.c b/Build/source/texk/xdvik/dvi-init.c index fa6dcb7692e..3158132d4f6 100644 --- a/Build/source/texk/xdvik/dvi-init.c +++ b/Build/source/texk/xdvik/dvi-init.c @@ -420,7 +420,7 @@ load_font(struct font *fontp, Boolean use_t1lib load_font_now, #endif fontp, - &font_found, + (const char **)&font_found, &size_found, #ifdef T1LIB &fontp->t1id, diff --git a/Build/source/texk/xdvik/font-open.c b/Build/source/texk/xdvik/font-open.c index c6fc2c04f5f..ac5a1476766 100644 --- a/Build/source/texk/xdvik/font-open.c +++ b/Build/source/texk/xdvik/font-open.c @@ -282,7 +282,7 @@ font_open( Boolean load_font_now, #endif struct font *fontp, - char **font_ret, + const char **font_ret, int *dpi_ret, #ifdef T1LIB int *t1id, diff --git a/Build/source/texk/xdvik/font-open.h b/Build/source/texk/xdvik/font-open.h index 91cc4854425..3979a4bfdbc 100644 --- a/Build/source/texk/xdvik/font-open.h +++ b/Build/source/texk/xdvik/font-open.h @@ -28,7 +28,7 @@ extern FILE *font_open( Boolean load_font_now, #endif struct font *fontp, - char **font_ret, + const char **font_ret, int *dpi_ret, #ifdef T1LIB int *t1id, |