]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
serbase.cpp added to the list of files
[wxWidgets.git] / src / common / http.cpp
index e41bea9b08c85482786c899ee83303e03514b735..00b711b2ad247f3e2c9f48213d186fddb1b0f16b 100644 (file)
@@ -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();