diff options
author | Underground78 <underground78@users.sourceforge.net> | 2016-01-14 01:17:01 +0300 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2016-01-18 00:14:35 +0300 |
commit | 5885bb889e7bbe69984ede7a15705276f52e2aee (patch) | |
tree | e79f4118318ebe5dea43e1b99dbe4dbe5aa962a5 /TimXmlRpc.cpp | |
parent | 633def97031ddc4820b905444a7de03172742835 (diff) |
Use the proper specifier for size_t variable.
Diffstat (limited to 'TimXmlRpc.cpp')
-rw-r--r-- | TimXmlRpc.cpp | 2 |
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: |