X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1411f7eb1a86d2ec4c89340262be0405b77091d0..3ca1bf5add01419ba173f0567b060fdd9fd605f9:/src/common/http.cpp?ds=sidebyside diff --git a/src/common/http.cpp b/src/common/http.cpp index e444c296f8..0e7d3a3346 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -219,7 +219,7 @@ bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req) case wxHTTP_POST: request = wxT("POST"); if ( GetHeader( wxT("Content-Length") ).IsNull() ) - SetHeader( wxT("Content-Length"), wxString::Format( wxT("%ld"), m_post_buf.Len() ) ); + SetHeader( wxT("Content-Length"), wxString::Format( wxT("%lu"), (unsigned long)m_post_buf.Len() ) ); break; default: return FALSE;