Changed: #825 Remove all warning when compiling Ryzom

This commit is contained in:
kervala 2010-11-03 13:45:08 +01:00
parent d3a9566b26
commit ce04f969ef
3 changed files with 4 additions and 2 deletions

View file

@ -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));
}

View file

@ -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>

View file

@ -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());
}
}