X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da865fdd325f7833246eecd665849b14f43e19d7..ccaa848d6d376072af26c971a212580cf46affc5:/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(