Permalink
Browse files

"Fixed" warning and crash caused by XCreateIC on Linux

  • Loading branch information...
1 parent f5bca33 commit da64dbe89ffca560b15238e49f3f0b36c3079d7a @LaurentGomila LaurentGomila committed Sep 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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
{

0 comments on commit da64dbe

Please sign in to comment.