diff options
Diffstat (limited to 'Build/source/texk/ptexenc')
-rw-r--r-- | Build/source/texk/ptexenc/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/ptexenc/ptexenc.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/ptexenc/ChangeLog b/Build/source/texk/ptexenc/ChangeLog index 23ecf51a44d..aa4a7f78e27 100644 --- a/Build/source/texk/ptexenc/ChangeLog +++ b/Build/source/texk/ptexenc/ChangeLog @@ -1,3 +1,8 @@ +2012-03-04 Peter Breitenlohner <peb@mppmu.mpg.de> + + Avoid 'differ in signedness' warnings. + * ptexenc.c (write_hex): Cast buffer to 'char *'. + 2012-02-29 Ken Brown <kbrow1i@gmail.com> * Makefile.am (libptexenc_la_LIBADD): Add $(KPATHSEA_LIBS) as diff --git a/Build/source/texk/ptexenc/ptexenc.c b/Build/source/texk/ptexenc/ptexenc.c index 59a17cdea4d..5bee9a9bdc8 100644 --- a/Build/source/texk/ptexenc/ptexenc.c +++ b/Build/source/texk/ptexenc/ptexenc.c @@ -540,7 +540,7 @@ static void write_multibyte(long i) static void write_hex(int i) { - sprintf(buffer + last, "^^%02x", i); + sprintf((char *) buffer + last, "^^%02x", i); last += 4; } |