Got some compiler warnings in non-Unicode build. Fixed them.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-04-13 16:22:43 +00:00
parent d9a56bdeaf
commit fde7d98ecd
3 changed files with 7 additions and 7 deletions

View File

@@ -155,7 +155,7 @@ bool wxFTP::SendCommand(const wxString& command, char exp_ret)
return FALSE;
}
tmp_str = command + _T("\r\n");
wxWX2MBbuf tmp_buf = tmp_str.mb_str();
const wxWX2MBbuf tmp_buf = tmp_str.mb_str();
if (Write(MBSTRINGCAST tmp_buf, strlen(tmp_buf)).Error()) {
m_lastError = wxPROTO_NETERR;
return FALSE;