]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filesys.cpp
Compilo.
[wxWidgets.git] / src / common / filesys.cpp
index 44e265776bcd8bd534c700ef530ca31261b342ca..425be7057ce7a6ea5a726925442f2c4ba105d649 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
+    #include "wx/module.h"
 #endif
 
 #include "wx/wfstream.h"
-#include "wx/module.h"
 #include "wx/mimetype.h"
 #include "wx/filename.h"
 #include "wx/tokenzr.h"
@@ -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)