diff --git a/src/common/http.cpp b/src/common/http.cpp index 041e5a5e01..779472541d 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -197,7 +197,7 @@ bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req) SetFlags(NONE); Notify(FALSE); - sprintf(buf, "%s %s\n\r", tmp_buf, pathbuf); + sprintf(buf, "%s %s\n\r", tmp_buf, (const char*) pathbuf); Write(buf, strlen(buf)); SendHeaders(); sprintf(buf, "\n\r");