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