X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fae05df5a988883e9c6683ccded766dfb7b84b1b..d30e0edda826c92918de02fade41f05d2c4417ca:/src/common/http.cpp diff --git a/src/common/http.cpp b/src/common/http.cpp index b433e4f013..06cfbd02e8 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -180,8 +180,8 @@ bool wxHTTP::Connect(wxSockAddress& addr, bool WXUNUSED(wait)) bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req) { wxChar *tmp_buf; - wxCharBuffer buf(""); - const wxWX2MBbuf pathbuf; + wxChar buf[200]; + wxWX2MBbuf pathbuf(200); wxString tmp_str; switch (req) {