fool proof fix for gcc warnings on mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-02-02 11:32:55 +00:00
parent 9bb15269a7
commit 3aefa658c8

View File

@ -2428,15 +2428,16 @@ const wxChar *wxLocale::GetString(const wxChar *szOrigString,
if ( szDomain != NULL )
{
wxLogTrace(_T("i18n"),
_T("string '%s'[%d] not found in domain '%s' for locale '%s'."),
szOrigString, (int)n, szDomain, m_strLocale.c_str());
_T("string '%s'[%lu] not found in domain '%s' for locale '%s'."),
szOrigString, (unsigned long)n,
szDomain, m_strLocale.c_str());
}
else
{
wxLogTrace(_T("i18n"),
_T("string '%s'[%d] not found in locale '%s'."),
szOrigString, (int)n, m_strLocale.c_str());
_T("string '%s'[%lu] not found in locale '%s'."),
szOrigString, (unsigned long)n, m_strLocale.c_str());
}
}
#endif // __WXDEBUG__