summaryrefslogtreecommitdiff
path: root/Build/source/texk/ptexenc/ptexenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/ptexenc/ptexenc.c')
-rw-r--r--Build/source/texk/ptexenc/ptexenc.c2
1 files changed, 1 insertions, 1 deletions
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;
}