summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/lib/chartostring.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-11 17:01:18 +0000
committerKarl Berry <karl@freefriends.org>2010-04-11 17:01:18 +0000
commit1af131813889d805683c82542c50a9ae5b9abc26 (patch)
treeafed16764541f426995bac9b86e261568727907a /Build/source/texk/web2c/lib/chartostring.c
parent412f83e27b51d4235fa69c5964263bdadb6b681f (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/chartostring.c')
-rw-r--r--Build/source/texk/web2c/lib/chartostring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/lib/chartostring.c b/Build/source/texk/web2c/lib/chartostring.c
index bd4253022cd..fe3b88d52d1 100644
--- a/Build/source/texk/web2c/lib/chartostring.c
+++ b/Build/source/texk/web2c/lib/chartostring.c
@@ -16,7 +16,7 @@ Written in 1994 by Karl Berry. Public domain. */
string
chartostring (char ch)
{
- string str = (string)xmalloc (2);
+ string str = xmalloc (2);
str[0] = ch;
str[1] = 0;
return str;