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 {