Warning suppressions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -83,13 +83,13 @@ bool wxGetHostName(
|
||||
|
||||
if ((zSysname = wxGetenv(_T("SYSTEM_NAME"))) == NULL)
|
||||
{
|
||||
ULONG n = ::PrfQueryProfileString( HINI_PROFILE
|
||||
,(PSZ)WX_SECTION
|
||||
,(PSZ)eHOSTNAME
|
||||
,(PSZ)zDefaultHost
|
||||
,(void*)zBuf
|
||||
,(ULONG)nMaxSize - 1
|
||||
);
|
||||
::PrfQueryProfileString( HINI_PROFILE
|
||||
,(PSZ)WX_SECTION
|
||||
,(PSZ)eHOSTNAME
|
||||
,(PSZ)zDefaultHost
|
||||
,(void*)zBuf
|
||||
,(ULONG)nMaxSize - 1
|
||||
);
|
||||
}
|
||||
else
|
||||
wxStrncpy(zBuf, zSysname, nMaxSize - 1);
|
||||
|
Reference in New Issue
Block a user