about summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index 43eb001..1fa88a0 100644
--- a/client.c
+++ b/client.c
@@ -408,7 +408,7 @@ client_config(struct client_ctx *cc)
 {
 	XConfigureEvent	 cn;
 
-	bzero(&cn, sizeof(cn));
+	(void)memset(&cn, 0, sizeof(cn));
 	cn.type = ConfigureNotify;
 	cn.event = cc->win;
 	cn.window = cc->win;
@@ -547,7 +547,7 @@ client_msg(struct client_ctx *cc, Atom proto, Time ts)
 {
 	XClientMessageEvent	 cm;
 
-	bzero(&cm, sizeof(cm));
+	(void)memset(&cm, 0, sizeof(cm));
 	cm.type = ClientMessage;
 	cm.window = cc->win;
 	cm.message_type = cwmh[WM_PROTOCOLS];