summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-05-13 14:43:43 +0000
committerJim Meyering <jim@meyering.net>2003-05-13 14:43:43 +0000
commit6fc02451230cc5e13032ee7eeac7d972576ecd9b (patch)
tree0a2f910dfc6c3101757dc5730d17881f7263deba /src
parent40b700eadb73acf2658b1a01c140474dcefaf9b1 (diff)
downloadcoreutils-6fc02451230cc5e13032ee7eeac7d972576ecd9b.tar.gz
(sort): Don't apply cast to argument of free.
Diffstat (limited to 'src')
-rw-r--r--src/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c
index a0417e1ad..c0c007ff3 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -2005,7 +2005,7 @@ sort (char **files, int nfiles, char const *output_file)
for (node = temphead; i > 0; node = node->next)
tempfiles[--i] = node->name;
merge (tempfiles, n_temp_files, NMERGE, output_file);
- free ((char *) tempfiles);
+ free (tempfiles);
}
}