--- ./src/common/datetime.cpp.orig 2004-04-28 05:15:48.809500000 +0900 +++ ./src/common/datetime.cpp 2004-04-28 05:18:46.528250000 +0900 @@ -2920,7 +2920,7 @@ // to our generic code anyhow (FIXME !Unicode friendly) { struct tm tm; - const wxChar *result = strptime(input, "%x", &tm); + const wxChar *result = (wxChar *)strptime((char *)input, "%x", &tm); if ( result ) { input = result; @@ -2985,7 +2985,7 @@ { // use strptime() to do it for us (FIXME !Unicode friendly) struct tm tm; - input = strptime(input, "%X", &tm); + input = (wxChar *)strptime((char *)input, "%X", &tm); if ( !input ) { return (wxChar *)NULL; --- ./src/common/filefn.cpp.orig 2004-04-28 05:20:04.434500000 +0900 +++ ./src/common/filefn.cpp 2004-04-28 05:21:41.887625000 +0900 @@ -1529,7 +1529,8 @@ #if defined( __CYGWIN__ ) && defined( __WINDOWS__ ) // another example of DOS/Unix mix (Cygwin) wxString pathUnix = buf; - cygwin_conv_to_full_win32_path(pathUnix, buf); + cygwin_conv_to_full_win32_path((char *)((const wxChar *)pathUnix), + (char *)buf); #endif // __CYGWIN__ } --- ./src/msw/utils.cpp.orig 2004-04-28 04:48:40.040750000 +0900 +++ ./src/msw/utils.cpp 2004-04-28 05:12:57.368875000 +0900 @@ -363,7 +363,7 @@ wxString& strDir = *pstr; #if defined(__UNIX__) && !defined(__TWIN32__) - const wxChar *szHome = wxGetenv("HOME"); + const wxChar *szHome = wxGetenv((wxChar *)"HOME"); if ( szHome == NULL ) { // we're homeless... wxLogWarning(_("can't find user's HOME, using current directory.")); @@ -379,7 +379,8 @@ #ifdef __CYGWIN__ // Cygwin returns unix type path but that does not work well static wxChar windowsPath[MAX_PATH]; - cygwin_conv_to_full_win32_path(strDir, windowsPath); + cygwin_conv_to_full_win32_path((const char *)((const wxChar *)strDir), + (char *)windowsPath); strDir = windowsPath; #endif #else // Windows