From daa9ed3fa2d52827228d0ed9ff49c79f7f61a78e Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 7 Sep 2017 09:30:57 +0200 Subject: [PATCH] fix compilation issue on android --- src/chat/is-composing.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/chat/is-composing.cpp b/src/chat/is-composing.cpp index a9157ea1d..4a6e9a98a 100644 --- a/src/chat/is-composing.cpp +++ b/src/chat/is-composing.cpp @@ -21,6 +21,7 @@ #include "chat-room-p.h" #include "logger/logger.h" +#include "linphone/utils/utils.h" using namespace std; @@ -74,7 +75,7 @@ std::string IsComposing::marshal (bool isComposing) { } if ((err >= 0) && isComposing) { int refreshTimeout = lp_config_get_int(core->config, "sip", "composing_refresh_timeout", defaultRefreshTimeout); - err = xmlTextWriterWriteElement(writer, (const xmlChar *)"refresh", (const xmlChar *)to_string(refreshTimeout).c_str()); + err = xmlTextWriterWriteElement(writer, (const xmlChar *)"refresh", (const xmlChar *)Utils::toString(refreshTimeout).c_str()); } if (err >= 0) { /* Close the "isComposing" element. */