]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix.
authorRobert Roebling <robert@roebling.de>
Sun, 30 May 1999 17:45:12 +0000 (17:45 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 30 May 1999 17:45:12 +0000 (17:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/http.cpp

index 041e5a5e01b7c415c8475fbb52ffbc0352085afe..779472541d3b49476f52655d7454a6db80ec0f76 100644 (file)
@@ -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");