X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4846abaf45a5a1b2ba4392fab7fdc45f1518f4d7..7af61b2e180b95f0009e41a5c2c09006d5077e9c:/src/common/ftp.cpp diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index 9ef749df6f..5e8ce27493 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -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;