X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7d9131ae533ccecb10f4dcebcb820a7e062a11c..d30e0edda826c92918de02fade41f05d2c4417ca:/src/common/http.cpp diff --git a/src/common/http.cpp b/src/common/http.cpp index 08c4df058c..06cfbd02e8 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -181,7 +181,7 @@ bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req) { wxChar *tmp_buf; wxChar buf[200]; - const wxWX2MBbuf pathbuf; + wxWX2MBbuf pathbuf(200); wxString tmp_str; switch (req) {