mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-26 10:30:54 +00:00
Changed: #825 Remove all warning when compiling Ryzom
This commit is contained in:
parent
708d0503a3
commit
cbce7633d6
3 changed files with 4 additions and 2 deletions
|
@ -780,7 +780,7 @@ bool CUnixEventEmitter::processMessage (XEvent &event, CEventServer *server)
|
||||||
createIM();
|
createIM();
|
||||||
break;
|
break;
|
||||||
case ClientMessage:
|
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));
|
server->postEvent(new CEventDestroyWindow(this));
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,8 @@
|
||||||
#include "nel/misc/events.h"
|
#include "nel/misc/events.h"
|
||||||
#include "nel/misc/game_device_events.h"
|
#include "nel/misc/game_device_events.h"
|
||||||
|
|
||||||
|
#include "nel/3d/driver.h"
|
||||||
|
|
||||||
#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
|
#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
|
|
@ -231,7 +231,7 @@ namespace NLQT
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ //if (!file.open())
|
{ //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