From 06014e4f3684574357a22cf2ea481b2b5a0406c3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 20 Jul 2004 22:38:22 +0000 Subject: [PATCH] compilation warning about printf type mismatch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2