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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user