diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-04-19 13:44:09 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-04-19 13:44:09 +0000 |
commit | 129c1c0ef9266468d65fbcf846132b4329cad994 (patch) | |
tree | 0aeb7c371bb33f4fb69501b7715c82b769957896 /Build/source/texk/web2c/xetexdir | |
parent | 880a5b0998e88b6c3a3c50b3058f0139bf9b1211 (diff) |
Avoid Mac OS X compiler warnings, mainly 'differ in signedness'
git-svn-id: svn://tug.org/texlive/trunk@22123 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/xetexdir')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/xetexdir/xetex.ch | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog index dd03a2887df..24bb3d9c8bb 100644 --- a/Build/source/texk/web2c/xetexdir/ChangeLog +++ b/Build/source/texk/web2c/xetexdir/ChangeLog @@ -1,3 +1,9 @@ +2011-04-19 Peter Breitenlohner <peb@mppmu.mpg.de> + + Avoid 'differ in signedness' warnings. + * xetex.ch (pack_buffered_name): Adapt to modified ../tex.ch. + (read_font_info): Cast print_c_string() arg to string. + 2011-04-11 Karl Berry <karl@tug.org> * xetex.ch (XeTeX_version_string): bump to .5. diff --git a/Build/source/texk/web2c/xetexdir/xetex.ch b/Build/source/texk/web2c/xetexdir/xetex.ch index 83d0f13a79e..0139d24e8bb 100644 --- a/Build/source/texk/web2c/xetexdir/xetex.ch +++ b/Build/source/texk/web2c/xetexdir/xetex.ch @@ -3201,14 +3201,14 @@ for j:=str_start_macro(e) to str_start_macro(e+1)-1 do append_to_name(so(str_poo @x name_of_file := xmalloc_array (ASCII_code, n+(b-a+1)+format_ext_length+1); -for j:=1 to n do append_to_name(xord[TEX_format_default[j]]); +for j:=1 to n do append_to_name(xord[ucharcast(TEX_format_default[j])]); @y name_of_file := xmalloc_array (UTF8_code, n+(b-a+1)+format_ext_length+1); for j:=1 to n do append_to_name(TEX_format_default[j]); @z @x - append_to_name(xord[TEX_format_default[j]]); + append_to_name(xord[ucharcast(TEX_format_default[j])]); @y append_to_name(TEX_format_default[j]); @z @@ -3428,7 +3428,7 @@ pack_file_name(nom,aire,cur_ext); if XeTeX_tracing_fonts_state>0 then begin begin_diagnostic; print_nl("Requested font """); - print_c_string(name_of_file+1); + print_c_string(stringcast(name_of_file+1)); print('"'); if s < 0 then begin print(" scaled "); @@ -3477,7 +3477,7 @@ if XeTeX_tracing_fonts_state>0 then begin end else if file_opened then begin begin_diagnostic; print_nl(" -> "); - print_c_string(name_of_file+1); + print_c_string(stringcast(name_of_file+1)); end_diagnostic(false); end; end; |