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
This commit is contained in:
@@ -484,7 +484,7 @@ void wxFileSystem::AddHandler(wxFileSystemHandler *handler)
|
|||||||
{
|
{
|
||||||
// prepend the handler to the beginning of the list because handlers added
|
// prepend the handler to the beginning of the list because handlers added
|
||||||
// last should have the highest priority to allow overriding them
|
// 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)
|
bool wxFileSystem::HasHandlerForPath(const wxString &location)
|
||||||
|
@@ -754,7 +754,7 @@ wxLogPassThrough::wxLogPassThrough()
|
|||||||
|
|
||||||
bool wxLog::ms_bRepetCounting = false;
|
bool wxLog::ms_bRepetCounting = false;
|
||||||
wxString wxLog::ms_prevString;
|
wxString wxLog::ms_prevString;
|
||||||
size_t wxLog::ms_prevCounter = 0;
|
unsigned int wxLog::ms_prevCounter = 0;
|
||||||
time_t wxLog::ms_prevTimeStamp= 0;
|
time_t wxLog::ms_prevTimeStamp= 0;
|
||||||
wxLogLevel wxLog::ms_prevLevel;
|
wxLogLevel wxLog::ms_prevLevel;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user