summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/lib/printversion.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/lib/printversion.c')
-rw-r--r--Build/source/texk/web2c/lib/printversion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/lib/printversion.c b/Build/source/texk/web2c/lib/printversion.c
index bb9874b5244..2cfb751d58f 100644
--- a/Build/source/texk/web2c/lib/printversion.c
+++ b/Build/source/texk/web2c/lib/printversion.c
@@ -31,7 +31,7 @@ printversionandexit (const_string banner,
prog_version++;
len = prog_name_end - banner - sizeof ("This is");
- prog_name = (string)xmalloc (len + 1);
+ prog_name = xmalloc (len + 1);
strncpy (prog_name, banner + sizeof ("This is"), len);
prog_name[len] = 0;