aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tap.c
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2019-01-03 17:53:42 +0100
committerGuy Harris <guy@alum.mit.edu>2019-01-03 23:39:43 +0000
commitb67b47558d1bfff404e483156a98ac3c50433609 (patch)
tree7acdae1f163e854b08c37c9d8144b6dcc7a46725 /epan/tap.c
parent58b71c754cdf829f0a33bad94d2fcde6e12c0342 (diff)
epan: remove redundant casts.
Found by clang-tidy. Change-Id: Iaf6cf84c33b03ddfcd39a333b49f4987002afa56 Reviewed-on: https://code.wireshark.org/review/31338 Petri-Dish: Dario Lombardo <lomato@gmail.com> Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/tap.c')
-rw-r--r--epan/tap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tap.c b/epan/tap.c
index e0e3a22beb..126133f753 100644
--- a/epan/tap.c
+++ b/epan/tap.c
@@ -753,7 +753,7 @@ void tap_cleanup(void)
while(head_dl){
elem_dl = head_dl;
head_dl = head_dl->next;
- g_free((char*)elem_dl->name);
+ g_free(elem_dl->name);
g_free((gpointer)elem_dl);
}