Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/drtimcooper/XmlRpc4Win.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnderground78 <underground78@users.sourceforge.net>2016-01-14 01:17:01 +0300
committerUnderground78 <underground78@users.sourceforge.net>2016-01-18 00:14:35 +0300
commit5885bb889e7bbe69984ede7a15705276f52e2aee (patch)
treee79f4118318ebe5dea43e1b99dbe4dbe5aa962a5
parent633def97031ddc4820b905444a7de03172742835 (diff)
Use the proper specifier for size_t variable.
-rw-r--r--TimXmlRpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TimXmlRpc.cpp b/TimXmlRpc.cpp
index c57eaf6..90b212d 100644
--- a/TimXmlRpc.cpp
+++ b/TimXmlRpc.cpp
@@ -1538,7 +1538,7 @@ RETRY:
// Add the 'Content-Type' && 'Content-length' headers
char header[255]; // Thanks, Anthony Chan.
- sprintf_s(header, "Content-Type: text/xml\r\nContent-length: %d", ostr.str().size());
+ sprintf_s(header, "Content-Type: text/xml\r\nContent-length: %Iu", ostr.str().size());
HttpAddRequestHeaders(hHttpFile, header, (DWORD)strlen(header), HTTP_ADDREQ_FLAG_ADD);
// Send the request: