about summary refs log tree commit diff
path: root/iconv/gconv_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/gconv_conf.c')
-rw-r--r--iconv/gconv_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c
index dce913da74..0d25c22416 100644
--- a/iconv/gconv_conf.c
+++ b/iconv/gconv_conf.c
@@ -209,7 +209,7 @@ add_alias (char *rp, void *modules)
 
       inserted = (void **) __tsearch (new_alias, &__gconv_alias_db,
 				      __gconv_alias_compare);
-      if (inserted == NULL || *inserted != (void **) new_alias)
+      if (inserted == NULL || *inserted != new_alias)
 	/* Something went wrong, free this entry.  */
 	free (new_alias);
     }