diff options
-rw-r--r-- | Source/CTest/cmCTestSubmit.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestSubmit.cxx b/Source/CTest/cmCTestSubmit.cxx index 16537ee..601b90a 100644 --- a/Source/CTest/cmCTestSubmit.cxx +++ b/Source/CTest/cmCTestSubmit.cxx @@ -613,7 +613,8 @@ bool cmCTestSubmit::SubmitUsingXMLRPC(const cmStdString& localprefix, } std::cout << "Buffer: ["; - std::cout.write(encodedFileBuffer, realEncodedSize); + std::cout.write(reinterpret_cast<const char*>(encodedFileBuffer), + realEncodedSize); std::cout << "]" << std::endl; result = xmlrpc_client_call(&env, "http://betty.userland.com/RPC2", |