summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-05-13 14:36:29 +0000
committerJim Meyering <jim@meyering.net>2003-05-13 14:36:29 +0000
commit25227196a87e37917762d55fef3a049a6b1e13da (patch)
treecc93a32b57c9aefa52d9803099ae5037254cec90 /src
parentb20134e12cb3eb5a64cbb6d9b1c26f2567a6f61f (diff)
downloadcoreutils-25227196a87e37917762d55fef3a049a6b1e13da.tar.xz
(zaptemp): 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 76627ff61..a0417e1ad 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -522,7 +522,7 @@ zaptemp (const char *name)
{
unlink (name);
*pnode = node->next;
- free ((char *) node);
+ free (node);
break;
}
}