summaryrefslogtreecommitdiff
path: root/action.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 /action.c
parentbdbfa354dd4d93657104ccd7c9e892ed45197dd8 (diff)
Remove unnecessary casts from bzero() calls
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'action.c')
-rw-r--r--action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/action.c b/action.c
index c6ff547..7c8074a 100644
--- a/action.c
+++ b/action.c
@@ -1493,7 +1493,7 @@ ActionsInit(void)
{
if (!actionsInitialized)
{
- bzero((char *) &constTrue, sizeof(constTrue));
+ bzero(&constTrue, sizeof(constTrue));
constTrue = (ExprDef) {
.common.stmtType = StmtExpr,
.common.next = NULL,
@@ -1501,7 +1501,7 @@ ActionsInit(void)
.type = TypeBoolean,
.value.str = XkbInternAtom(NULL, "true", False)
};
- bzero((char *) &constFalse, sizeof(constFalse));
+ bzero(&constFalse, sizeof(constFalse));
constFalse = (ExprDef) {
.common.stmtType = StmtExpr,
.common.next = NULL,