]> git.saurik.com Git - wxWidgets.git/commitdiff
Warning fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 13 Sep 2005 16:04:22 +0000 (16:04 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 13 Sep 2005 16:04:22 +0000 (16:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/volume.cpp

index f328405a26bb0a994c36bdc512796f22c94cbecf..c69ac43707711a4c45ad00c462a59f1d1086bfa2 100644 (file)
@@ -336,8 +336,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 +606,3 @@ wxIcon wxFSVolume::GetIcon(wxFSIconType type) const
 #endif // wxUSE_GUI
 
 #endif // wxUSE_FSVOLUME
-