]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
small fix for mingw32 compilation
[wxWidgets.git] / src / common / http.cpp
index b433e4f0134b9c5551d50563ac543519c398869b..06cfbd02e8e5785647f434dd9be724713cb0b932 100644 (file)
@@ -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) {