Got some compiler warnings in non-Unicode build. Fixed them.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-04-13 16:22:43 +00:00
parent d9a56bdeaf
commit fde7d98ecd
3 changed files with 7 additions and 7 deletions

View File

@@ -106,7 +106,7 @@ void wxHTTP::SendHeaders()
wxString buf;
buf.Printf(_T("%s: %s\n\r"), head->GetKeyString(), str->GetData());
wxWX2MBbuf cbuf = buf.mb_str();
const wxWX2MBbuf cbuf = buf.mb_str();
Write(cbuf, strlen(cbuf));
head = head->Next();
@@ -187,7 +187,7 @@ bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req)
{
char *tmp_buf;
char buf[HTTP_BSIZE];
wxWX2MBbuf pathbuf = path.mb_str();
const wxWX2MBbuf pathbuf = path.mb_str();
switch (req) {
case wxHTTP_GET: