From e66474166b164b9e11f9881e79d531bc5182ea31 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Wed, 16 Jun 1999 06:50:28 +0000 Subject: [PATCH] Had missed one LPSTR. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/dirdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/dirdlg.cpp b/src/msw/dirdlg.cpp index 3c20ff1819..4be95f9efe 100644 --- a/src/msw/dirdlg.cpp +++ b/src/msw/dirdlg.cpp @@ -77,7 +77,7 @@ int wxDirDialog::ShowModal(void) return wxID_CANCEL; // Allocate a buffer to receive browse information. - if ((lpBuffer = (LPSTR) pMalloc->Alloc(MAX_PATH)) == NULL) + if ((lpBuffer = (LPTSTR) pMalloc->Alloc(MAX_PATH)) == NULL) { pMalloc->Release(); return wxID_CANCEL; -- 2.47.2