mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-05 23:09:04 +00:00
Changed: #825 Remove all warning when compiling Ryzom
This commit is contained in:
parent
d3a9566b26
commit
ce04f969ef
3 changed files with 4 additions and 2 deletions
|
@ -780,7 +780,7 @@ bool CUnixEventEmitter::processMessage (XEvent &event, CEventServer *server)
|
|||
createIM();
|
||||
break;
|
||||
case ClientMessage:
|
||||
if ((event.xclient.format == 32) && (event.xclient.data.l[0] == XA_WM_DELETE_WINDOW))
|
||||
if ((event.xclient.format == 32) && ((Atom)event.xclient.data.l[0] == XA_WM_DELETE_WINDOW))
|
||||
{
|
||||
server->postEvent(new CEventDestroyWindow(this));
|
||||
}
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
#include "nel/misc/events.h"
|
||||
#include "nel/misc/game_device_events.h"
|
||||
|
||||
#include "nel/3d/driver.h"
|
||||
|
||||
#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
|
|
@ -231,7 +231,7 @@ namespace NLQT
|
|||
}
|
||||
else
|
||||
{ //if (!file.open())
|
||||
nlerror("Can't open the file %s for writing.", s);
|
||||
nlerror("Can't open the file %s for writing.", s.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue