PATCH: xim terminating NULL

Marcus Meissner meissner at suse.de
Wed Apr 13 08:25:10 CDT 2005


Hi,

Doesnt matter on 32bit, but on 64bit this would read a 32bit 0 instead
of a 64bit 0, leading to hard to debug problems.

Ciao, Marcus

Changelog
	Terminate XCreateIC() argument list with NULL instead of just 0.

Index: dlls/x11drv/xim.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/xim.c,v
retrieving revision 1.4
diff -u -r1.4 xim.c
--- dlls/x11drv/xim.c	11 Aug 2004 23:45:34 -0000	1.4
+++ dlls/x11drv/xim.c	13 Apr 2005 13:23:36 -0000
@@ -478,7 +478,7 @@
                         XNInputStyle, XIMPreeditNothing | XIMStatusNothing,
                         XNClientWindow, win,
                         XNFocusWindow, win,
-                        0);
+                        NULL);
         wine_tsx11_unlock();
         return xic;
     }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050413/7b841dbf/attachment.pgp


More information about the wine-patches mailing list