X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da865fdd325f7833246eecd665849b14f43e19d7..cf283a470ab3eb4bc69959e3b5ae0edf30337fa5:/src/os2/dir.cpp?ds=sidebyside diff --git a/src/os2/dir.cpp b/src/os2/dir.cpp index ab35717cbf..fef52b91b3 100644 --- a/src/os2/dir.cpp +++ b/src/os2/dir.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "dir.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -110,7 +106,7 @@ static const wxChar* GetNameFromFindData( FIND_STRUCT* pFinddata ) { - return pFinddata->achName; + return (wxChar*)pFinddata->achName; } static const FIND_ATTR GetAttrFromFindData(