]> git.saurik.com Git - wxWidgets.git/commitdiff
(Hopefully) last fix for daily builds
authorMattia Barbon <mbarbon@cpan.org>
Fri, 8 Mar 2002 21:37:22 +0000 (21:37 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Fri, 8 Mar 2002 21:37:22 +0000 (21:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/volume.cpp

index ac38c7d4abeeec34ae8a40d71963dccde441af8a..df62ac3e97cdde6467e41e67c52cbf0bd41b4234 100644 (file)
@@ -255,8 +255,8 @@ static void BuildListFromNN(wxArrayString& list, NETRESOURCE* pResSrc,
     //----------------------------------------------------------------------
     if (rc = s_pWNetOpenEnum(scope, RESOURCETYPE_DISK, 0, pResSrc, &hEnum), rc == NO_ERROR)
     {
-        unsigned long count = 1;
-        unsigned long size = 256;
+        DWORD count = 1;
+        DWORD size = 256;
         NETRESOURCE* pRes = (NETRESOURCE*)malloc(size);
         memset(pRes, 0, sizeof(NETRESOURCE));
         while (rc = s_pWNetEnumResource(hEnum, &count, pRes, &size), rc == NO_ERROR || rc == ERROR_MORE_DATA)