summaryrefslogtreecommitdiff
path: root/inflate.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-09-26 19:40:54 +0200
committerJim Meyering <meyering@redhat.com>2009-09-26 19:43:37 +0200
commitcf608a221f703cf79b58d35495ab6c2fe40cc9a2 (patch)
tree1857a4e563c25913b23717b18d42bc43d2a5faca /inflate.c
parentd5a6dcea4c4eb1be04be5052fcb3e93c7e5b6d10 (diff)
downloadgzip-cf608a221f703cf79b58d35495ab6c2fe40cc9a2.tar.gz
maint: remove useless casts to avoid "make syntax-check" failures
* gzip.c (do_exit): Remove anachronistic cast. * inflate.c (huft_free): Likewise. * util.c (add_envopt): Likewise. * vms/vms.c (vms_expand_args): Likewise.
Diffstat (limited to 'inflate.c')
-rw-r--r--inflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inflate.c b/inflate.c
index 71ce8ef..928326d 100644
--- a/inflate.c
+++ b/inflate.c
@@ -512,7 +512,7 @@ struct huft *t; /* table to free */
while (p != (struct huft *)NULL)
{
q = (--p)->v.t;
- free((char*)p);
+ free(p);
p = q;
}
return 0;