From: Vadim Zeitlin Date: Mon, 21 Jan 2002 22:45:50 +0000 (+0000) Subject: compilation fix for Borland (hopefully) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d5e1f5e06e88c04663e127b638f7268b06b44249 compilation fix for Borland (hopefully) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index da2a137857..4c8e813969 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -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