Fixed gcc compiler warning (size_t was assumed to equal an unsigned int).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth
2003-11-20 18:18:58 +00:00
parent 62a1177692
commit 3e778e3bde

View File

@@ -723,7 +723,7 @@ wxFileName::CreateTempFileName(const wxString& prefix, wxFile *fileTemp)
for ( size_t n = 0; n < numTries; n++ )
{
// 3 hex digits is enough for numTries == 1000 < 4096
pathTry = path + wxString::Format(_T("%.03x"), n);
pathTry = path + wxString::Format(_T("%.03x"), (unsigned int) n);
if ( !wxFile::Exists(pathTry) )
{
break;