X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95dc6a2b1d14c2ddb121cdff52a6b013293ae4f1..2b0246530d08cf7724d94c70d631c166f9717c2c:/src/msw/volume.cpp diff --git a/src/msw/volume.cpp b/src/msw/volume.cpp index f328405a26..c9e25c22d6 100644 --- a/src/msw/volume.cpp +++ b/src/msw/volume.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "fsvolume.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -147,7 +143,7 @@ static unsigned GetBasicFlags(const wxChar* filename) } //----------------------------------------------------------------------- - // The following will most likely will not modify anything not set above, + // The following most likely will not modify anything not set above, // and will not work at all for network shares or empty CD ROM drives. // But it is a good check if the Win API ever gets better about reporting // this information. @@ -336,8 +332,8 @@ static bool BuildRemoteList(wxArrayString& list, NETRESOURCE* pResSrc, mounted.Sort(CompareFcn); // apply list from bottom to top to preserve indexes if removing items. - size_t iList = list.GetCount()-1; - for (size_t iMounted = mounted.GetCount()-1; iMounted >= 0 && iList >= 0; iMounted--) + ssize_t iList = list.GetCount()-1; + for (ssize_t iMounted = mounted.GetCount()-1; iMounted >= 0 && iList >= 0; iMounted--) { int compare; wxString all(list[iList]); @@ -606,4 +602,3 @@ wxIcon wxFSVolume::GetIcon(wxFSIconType type) const #endif // wxUSE_GUI #endif // wxUSE_FSVOLUME -