mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-12 21:04:47 +00:00
Changed: #825 Remove all warning when compiling Ryzom
This commit is contained in:
parent
3ae2ce679a
commit
782e5035fc
3 changed files with 15 additions and 6 deletions
|
@ -191,7 +191,7 @@ BOOL CClientConfigApp::InitInstance()
|
|||
|
||||
DestroyWindow (SlashScreen);
|
||||
|
||||
int nResponse = dlg.DoModal();
|
||||
sint nResponse = (sint)dlg.DoModal();
|
||||
if (nResponse == IDOK)
|
||||
{
|
||||
// dismissed with OK
|
||||
|
|
|
@ -320,7 +320,7 @@ void CClient_configDlg::translateTree ()
|
|||
while (item)
|
||||
{
|
||||
// Set the item text
|
||||
uint page = Tree.GetItemData (item);
|
||||
uint page = (uint)Tree.GetItemData (item);
|
||||
ucstring name = NLMISC::CI18N::get (Pages[page].Name);
|
||||
if (NLMISC::CSystemUtils::supportUnicode())
|
||||
{
|
||||
|
@ -416,7 +416,7 @@ void CClient_configDlg::OnPaint()
|
|||
dc.SetBkMode (TRANSPARENT);
|
||||
dc.SelectObject (&BarFont);
|
||||
CRect labelRect (LARGE_LABEL_START_X, LARGE_LABEL_START_Y, LARGE_LABEL_END_X, LARGE_LABEL_END_Y);
|
||||
DrawTextW (&(*dc), (WCHAR*)TopLargeLabel.c_str (), TopLargeLabel.size (), &labelRect, DT_LEFT|DT_TOP);
|
||||
DrawTextW (&(*dc), (WCHAR*)TopLargeLabel.c_str (), (sint)TopLargeLabel.size (), &labelRect, DT_LEFT|DT_TOP);
|
||||
|
||||
CDialog::OnPaint();
|
||||
}
|
||||
|
@ -471,8 +471,8 @@ BOOL CClient_configDlg::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
|
|||
if (item)
|
||||
{
|
||||
// Get the page
|
||||
uint pageId = Tree.GetItemData (item);
|
||||
setPage (pageId) ;
|
||||
uint pageId = (uint)Tree.GetItemData (item);
|
||||
setPage (pageId);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
Version="9,00"
|
||||
Name="ryzom_configuration"
|
||||
ProjectGUID="{739618D3-04B6-4EB1-BAED-53D3217F5A86}"
|
||||
RootNamespace="empty_exe"
|
||||
|
@ -127,6 +127,7 @@
|
|||
BasicRuntimeChecks="3"
|
||||
SmallerTypeCheck="true"
|
||||
RuntimeLibrary="3"
|
||||
UsePrecompiledHeader="2"
|
||||
WarningLevel="3"
|
||||
DebugInformationFormat="3"
|
||||
/>
|
||||
|
@ -457,6 +458,14 @@
|
|||
<File
|
||||
RelativePath=".\StdAfx.cpp"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|x64"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
UsePrecompiledHeader="1"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue