diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-11 17:01:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-11 17:01:18 +0000 |
commit | 1af131813889d805683c82542c50a9ae5b9abc26 (patch) | |
tree | afed16764541f426995bac9b86e261568727907a /Build/source/texk/web2c/lib/printversion.c | |
parent | 412f83e27b51d4235fa69c5964263bdadb6b681f (diff) |
remove redundant casts of xmalloc return
git-svn-id: svn://tug.org/texlive/trunk@17803 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib/printversion.c')
-rw-r--r-- | Build/source/texk/web2c/lib/printversion.c | 2 |
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; |