(sort): Don't apply cast to argument of free.
authorJim Meyering <jim@meyering.net>
Tue, 13 May 2003 14:43:43 +0000 (14:43 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 13 May 2003 14:43:43 +0000 (14:43 +0000)
src/sort.c

index a0417e1ad9969e52569e7884ba065e625f82fbe8..c0c007ff3dca390ae9ed33e601723529a29a2593 100644 (file)
@@ -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);
     }
 }