]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for platforms where size_t is unsigned long, not int
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 25 Jul 2006 01:05:49 +0000 (01:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 25 Jul 2006 01:05:49 +0000 (01:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filesys.cpp
src/common/log.cpp

index 44e265776bcd8bd534c700ef530ca31261b342ca..405598e9c2aca71d01dbfe54cae8f2741a51f9f3 100644 (file)
@@ -484,7 +484,7 @@ void wxFileSystem::AddHandler(wxFileSystemHandler *handler)
 {
     // prepend the handler to the beginning of the list because handlers added
     // last should have the highest priority to allow overriding them
-    m_Handlers.Insert(0u, handler);
+    m_Handlers.Insert((size_t)0, handler);
 }
 
 bool wxFileSystem::HasHandlerForPath(const wxString &location)
index b58b349dacc8541c15ff4e4b09b8dd6469fd7e33..73e6d1a58ae3f822c8ab637ef7a47f710dee25b5 100644 (file)
@@ -754,7 +754,7 @@ wxLogPassThrough::wxLogPassThrough()
 
 bool            wxLog::ms_bRepetCounting = false;
 wxString        wxLog::ms_prevString;
-size_t          wxLog::ms_prevCounter = 0;
+unsigned int    wxLog::ms_prevCounter = 0;
 time_t          wxLog::ms_prevTimeStamp= 0;
 wxLogLevel      wxLog::ms_prevLevel;