summaryrefslogtreecommitdiff
path: root/alias.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-10 15:21:49 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-11 15:36:06 -0800
commit8e58b7949ab96180d60fb13f7820d6cc01c228ae (patch)
tree678aa0cb9e88858568f68aac0ae24fcd4b5d8cf4 /alias.c
parentbdbfa354dd4d93657104ccd7c9e892ed45197dd8 (diff)
Remove unnecessary casts from bzero() calls
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'alias.c')
-rw-r--r--alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alias.c b/alias.c
index 6f39c16..9c4ba65 100644
--- a/alias.c
+++ b/alias.c
@@ -140,7 +140,7 @@ MergeAliases(AliasInfo ** into, AliasInfo ** merge, unsigned how_merge)
*merge = NULL;
return True;
}
- bzero((char *) &def, sizeof(KeyAliasDef));
+ bzero(&def, sizeof(KeyAliasDef));
for (tmp = *merge; tmp != NULL; tmp = (AliasInfo *) tmp->def.next)
{
if (how_merge == MergeDefault)