X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da865fdd325f7833246eecd665849b14f43e19d7..05e0b047d879cdbfade7f2ab346c0acdf3e29f96:/src/os2/dir.cpp 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(