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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user