]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove unnecessary cast of argument to free. twice more
authorJim Meyering <jim@meyering.net>
Tue, 13 May 2003 14:32:10 +0000 (14:32 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 13 May 2003 14:32:10 +0000 (14:32 +0000)
src/tail.c

index 92a775251da01fb597268c2cf2b98e87b1e01c34..2c7db3605c27d08767790b389861ac2ceb75779e 100644 (file)
@@ -570,7 +570,7 @@ pipe_lines (const char *pretty_filename, int fd, uintmax_t n_lines)
        }
     }
 
-  free ((char *) tmp);
+  free (tmp);
 
   if (n_read == SAFE_READ_ERROR)
     {
@@ -722,7 +722,7 @@ free_cbuffers:
   while (first)
     {
       tmp = first->next;
-      free ((char *) first);
+      free (first);
       first = tmp;
     }
   return errors;