]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
Your typical c_str => c_str() fix.
[wxWidgets.git] / src / common / http.cpp
index e41bea9b08c85482786c899ee83303e03514b735..f9c7722269d8a2c66f09588d06dc676f658a8b40 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;