]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for Borland (hopefully)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Jan 2002 22:45:50 +0000 (22:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Jan 2002 22:45:50 +0000 (22:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/utils.cpp

index da2a1378574601e7f71daacf3964340e34af50a3..4c8e813969302ff7ce95f7515b9197a2d1fbdc87 100644 (file)
@@ -492,12 +492,12 @@ bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
 
         if ( pTotal )
         {
-            *pTotal = wxLongLong(bytesTotal.HighPart, bytesTotal.LowPart);
+            *pTotal = wxLongLong(bytesTotal.u.HighPart, bytesTotal.u.LowPart);
         }
 
         if ( pFree )
         {
-            *pFree = wxLongLong(bytesFree.HighPart, bytesFree.LowPart);
+            *pFree = wxLongLong(bytesFree.u.HighPart, bytesFree.u.LowPart);
         }
     }
     else