From 0af9ce687da2d34b8e1e43eb5559481418a6f96e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 19 Jan 2009 11:40:24 +0000 Subject: [PATCH] fix OS/2 compilation of wxDoGetCwd() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58220 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 b18ad9b605..bdea94c507 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1493,7 +1493,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));