From: Robert Roebling Date: Sun, 30 May 1999 17:45:12 +0000 (+0000) Subject: Compile fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1759ff9e918d43734793c67328af21203924931f Compile fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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");