From da64dbe89ffca560b15238e49f3f0b36c3079d7a Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Fri, 21 Sep 2012 14:13:01 +0200 Subject: [PATCH] "Fixed" warning and crash caused by XCreateIC on Linux --- src/SFML/Window/Linux/WindowImplX11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Window/Linux/WindowImplX11.cpp b/src/SFML/Window/Linux/WindowImplX11.cpp index 44d52490..fd17b789 100644 --- a/src/SFML/Window/Linux/WindowImplX11.cpp +++ b/src/SFML/Window/Linux/WindowImplX11.cpp @@ -477,7 +477,7 @@ void WindowImplX11::initialize() XNClientWindow, m_window, XNFocusWindow, m_window, XNInputStyle, XIMPreeditNothing | XIMStatusNothing, - NULL); + (void*)NULL); } else {