summaryrefslogtreecommitdiff
path: root/src/unexpand.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-04-11 10:51:56 +0000
committerJim Meyering <jim@meyering.net>2003-04-11 10:51:56 +0000
commit6c93bdeeaa8a322b76c48ffc17a2205f6c3f5271 (patch)
treeb96ee698e2bd8020d500f01cbf6d6efa743b8a69 /src/unexpand.c
parenteaff43d5a8173b9c576dadb8d123e3348fb1b809 (diff)
downloadcoreutils-6c93bdeeaa8a322b76c48ffc17a2205f6c3f5271.tar.xz
Remove anachronistic casts of xmalloc,
xrealloc, and xcalloc return values and of xrealloc's first argument.
Diffstat (limited to 'src/unexpand.c')
-rw-r--r--src/unexpand.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unexpand.c b/src/unexpand.c
index 9c1e751f6..b9e95d972 100644
--- a/src/unexpand.c
+++ b/src/unexpand.c
@@ -123,8 +123,7 @@ add_tabstop (int tabval)
if (tabval == -1)
return;
if (first_free_tab % TABLIST_BLOCK == 0)
- tab_list = (int *) xrealloc ((char *) tab_list,
- first_free_tab + TABLIST_BLOCK);
+ tab_list = xrealloc (tab_list, first_free_tab + TABLIST_BLOCK);
tab_list[first_free_tab++] = tabval;
}