From 416761431e76dcb053fa3447b6d53051579dad0a Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 6 Jun 2011 10:30:26 +0200 Subject: mesa xserver xkb git update 6 Jun 2011 --- xorg-server/test/xi2/protocol-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xorg-server/test/xi2/protocol-common.c') diff --git a/xorg-server/test/xi2/protocol-common.c b/xorg-server/test/xi2/protocol-common.c index 6ffc69721..423453358 100644 --- a/xorg-server/test/xi2/protocol-common.c +++ b/xorg-server/test/xi2/protocol-common.c @@ -121,7 +121,7 @@ ClientRec init_client(int len, void *data) void init_window(WindowPtr window, WindowPtr parent, int id) { - memset(window, 0, sizeof(window)); + memset(window, 0, sizeof(*window)); window->drawable.id = id; if (parent) -- cgit v1.2.3