Commit f2b54a6b authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix build on Android with NDK 15.

parent 32a48326
......@@ -98,7 +98,7 @@ ChatMessageModifier::Result CpimChatMessageModifier::encode (const shared_ptr<Ch
Cpim::GenericHeader("Content-Type", content->getContentType().asString())
);
cpimMessage.addContentHeader(
Cpim::GenericHeader("Content-Length", to_string(contentBody.size()))
Cpim::GenericHeader("Content-Length", Utils::toString(contentBody.size()))
);
cpimMessage.setContent(contentBody);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment