From: Dimitri Schoolwerth Date: Thu, 20 Nov 2003 18:18:58 +0000 (+0000) Subject: Fixed gcc compiler warning (size_t was assumed to equal an unsigned int). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3e778e3bdeb52273b4e79c65c8cda664a463571d 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 --- diff --git a/src/common/filename.cpp b/src/common/filename.cpp index 4b0278f2c3..e18d20c657 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -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;