X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e1e096097346054f8194cf475d03ae9cde46647..ae8f57691329af997e274a3fce5b25c5e5f00f2f:/src/common/http.cpp?ds=sidebyside diff --git a/src/common/http.cpp b/src/common/http.cpp index e41bea9b08..00b711b2ad 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -239,7 +239,7 @@ bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req) token.NextToken(); tmp_str2 = token.NextToken(); - switch (tmp_str2[0]) { + switch (tmp_str2[(unsigned int) 0]) { case _T('1'): /* INFORMATION / SUCCESS */ break; @@ -289,7 +289,7 @@ size_t wxHTTPStream::OnSysRead(void *buffer, size_t bufsize) bool wxHTTP::Abort(void) { - bool ret, connected; + bool ret; ret = wxSocketClient::Close();