]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
remove wxSOCKET_MAX_EVENT, it is not really necessary and results in gcc warnings...
[wxWidgets.git] / src / common / http.cpp
index fc7248f61a8e0d685e67f6732dfc5209e81dd09d..4525c981077d0d78d68284a64cfa74731ef295a8 100644 (file)
@@ -219,7 +219,7 @@ bool wxHTTP::Connect(const wxString& host, unsigned short port)
     return true;
 }
 
-bool wxHTTP::Connect(wxSockAddress& addr, bool WXUNUSED(wait))
+bool wxHTTP::Connect(const wxSockAddress& addr, bool WXUNUSED(wait))
 {
     if (m_addr) {
         delete m_addr;