summaryrefslogtreecommitdiff
path: root/Build/source/texk/makeindexk/mkind.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-28 09:56:26 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-28 09:56:26 +0000
commit696b5cb8009852a4fdac5b68192d72ed56c0cf5a (patch)
treeae3293acd95d310ad3d5ac3183421ee250a95ec7 /Build/source/texk/makeindexk/mkind.c
parent0696868cdd6ddc367c14e173c8faf92f03166c12 (diff)
makeindex: Do not typecast the result of malloc()
git-svn-id: svn://tug.org/texlive/trunk@27214 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/makeindexk/mkind.c')
-rw-r--r--Build/source/texk/makeindexk/mkind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/makeindexk/mkind.c b/Build/source/texk/makeindexk/mkind.c
index a118fc34687..8b85f06d7b3 100644
--- a/Build/source/texk/makeindexk/mkind.c
+++ b/Build/source/texk/makeindexk/mkind.c
@@ -410,7 +410,7 @@ check_idx(char *fn, int open_fn)
STRING_MAX,totmem);
#endif /* DEBUG */
- if ((tmp_fn = (char *) malloc(STRING_MAX+5)) == NULL)
+ if ((tmp_fn = malloc(STRING_MAX+5)) == NULL)
FATAL("Not enough core...abort.\n");
snprintf(tmp_fn, STRING_MAX+5, "%s%s", base, INDEX_IDX);
idx_fn = tmp_fn;