From 089e95217e26509f2c1a51ba490a5dd0bad22a96 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 19 Jan 2009 11:42:03 +0000 Subject: [PATCH] fix OS/2 compilation of wxDoGetCwd() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filefn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.50.0