From: Jim Meyering Date: Tue, 13 May 2003 14:43:43 +0000 (+0000) Subject: (sort): Don't apply cast to argument of free. X-Git-Tag: v5.0.1~501 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fc02451230cc5e13032ee7eeac7d972576ecd9b;p=thirdparty%2Fcoreutils.git (sort): Don't apply cast to argument of free. --- diff --git a/src/sort.c b/src/sort.c index a0417e1ad9..c0c007ff3d 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); } }