From 78710116bc8cdf4443c04dfbe972c18ad73fe37f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C3=85strand?= Date: Thu, 21 Oct 2004 08:43:22 +0000 Subject: [PATCH] null_pointer_data must actually be 24 bytes. Fixes another Valgrind warning. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@787 423420c4-83ab-492f-b58f-81f9feb106b5 --- xwin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xwin.c b/xwin.c index 107df75..467114b 100644 --- a/xwin.c +++ b/xwin.c @@ -946,7 +946,8 @@ BOOL ui_create_window(void) { uint8 null_pointer_mask[1] = { 0x80 }; - uint8 null_pointer_data[9] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; + uint8 null_pointer_data[24] = { 0x00 }; + XSetWindowAttributes attribs; XClassHint *classhints; XSizeHints *sizehints;