Changed: #825 Remove all warning when compiling Ryzom
This commit is contained in:
parent
d3aec1d246
commit
beaeccf2ce
4 changed files with 8 additions and 9 deletions
|
@ -363,7 +363,7 @@ bool CDriverGL::setupDisplay()
|
|||
|
||||
#ifdef NL_OS_WINDOWS
|
||||
NL3D::registerWGlExtensions(_Extensions, _hDC);
|
||||
#endif // ifdef NL_OS_WINDOWS
|
||||
#endif // NL_OS_WINDOWS
|
||||
|
||||
// Check required extensions!!
|
||||
// ARBMultiTexture is a OpenGL 1.2 required extension.
|
||||
|
@ -851,7 +851,6 @@ bool CDriverGL::swapBuffers()
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
#ifdef NL_OS_WINDOWS
|
||||
if (_EventEmitter.getNumEmitters() > 1) // is direct input running ?
|
||||
{
|
||||
|
|
|
@ -1083,7 +1083,7 @@ int CIXml::getIntProperty(xmlNodePtr node, const char *property, int defaultValu
|
|||
return defaultValue;
|
||||
|
||||
s=s.strip();
|
||||
int val=s.atoi();
|
||||
sint val=s.atoi();
|
||||
if (val==0 && s!="0")
|
||||
{
|
||||
nlwarning("bad integer value: %s",s.c_str());
|
||||
|
|
|
@ -128,11 +128,11 @@ bool CWinEventEmitter::processMessage (HWND hWnd, uint32 msg, WPARAM wParam, LPA
|
|||
if (_KeyboardEventsEnabled)
|
||||
{
|
||||
// Ctrl, shit or alt ?
|
||||
if ((int)wParam==VK_MENU)
|
||||
if ((sint)wParam==VK_MENU)
|
||||
_AltButton=true;
|
||||
if ((int)wParam==VK_CONTROL)
|
||||
if ((sint)wParam==VK_CONTROL)
|
||||
_CtrlButton=true;
|
||||
if ((int)wParam==VK_SHIFT)
|
||||
if ((sint)wParam==VK_SHIFT)
|
||||
_ShiftButton=true;
|
||||
|
||||
// Post the message
|
||||
|
|
Loading…
Reference in a new issue