From: Vadim Zeitlin Date: Mon, 19 Jan 2009 11:42:03 +0000 (+0000) Subject: fix OS/2 compilation of wxDoGetCwd() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/089e95217e26509f2c1a51ba490a5dd0bad22a96 fix OS/2 compilation of wxDoGetCwd() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 1406932e2a..51390ae725 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1535,7 +1535,7 @@ wxChar *wxDoGetCwd(wxChar *buf, int sz) { sz -= 3; rc = ::DosQueryCurrentDir( 0 // current drive - ,cbuf + 3 + ,(PBYTE)cbuf + 3 ,(PULONG)&sz ); cbuf[0] = char('A' + (ulDriveNum - 1));