From 374b4f1c0b24ffb096e33a8c9f63031247a2efe0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 25 Jul 2006 01:05:49 +0000 Subject: [PATCH] compilation fix for platforms where size_t is unsigned long, not int git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filesys.cpp | 2 +- src/common/log.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/filesys.cpp b/src/common/filesys.cpp index 44e265776b..405598e9c2 100644 --- a/src/common/filesys.cpp +++ b/src/common/filesys.cpp @@ -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) diff --git a/src/common/log.cpp b/src/common/log.cpp index b58b349dac..73e6d1a58a 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -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; -- 2.45.2