From 1af131813889d805683c82542c50a9ae5b9abc26 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 11 Apr 2010 17:01:18 +0000 Subject: remove redundant casts of xmalloc return git-svn-id: svn://tug.org/texlive/trunk@17803 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/lib/basechsuffix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Build/source/texk/web2c/lib/basechsuffix.c') diff --git a/Build/source/texk/web2c/lib/basechsuffix.c b/Build/source/texk/web2c/lib/basechsuffix.c index 8ca0e7cb117..2b1e9554eab 100644 --- a/Build/source/texk/web2c/lib/basechsuffix.c +++ b/Build/source/texk/web2c/lib/basechsuffix.c @@ -34,7 +34,7 @@ basenamechangesuffix (const_string name, const_string old_suffix, } } - answer = (string)xmalloc (copy_limit + strlen (new_suffix) + 1); + answer = xmalloc (copy_limit + strlen (new_suffix) + 1); strncpy (answer, base, copy_limit); answer[copy_limit] = 0; strcat (answer, new_suffix); -- cgit v1.2.3