Commit daa9ed3f authored by Simon Morlat's avatar Simon Morlat
Browse files

fix compilation issue on android

parent 77b35ea4
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include "chat-room-p.h" #include "chat-room-p.h"
#include "logger/logger.h" #include "logger/logger.h"
#include "linphone/utils/utils.h"
using namespace std; using namespace std;
...@@ -74,7 +75,7 @@ std::string IsComposing::marshal (bool isComposing) { ...@@ -74,7 +75,7 @@ std::string IsComposing::marshal (bool isComposing) {
} }
if ((err >= 0) && isComposing) { if ((err >= 0) && isComposing) {
int refreshTimeout = lp_config_get_int(core->config, "sip", "composing_refresh_timeout", defaultRefreshTimeout); 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) { if (err >= 0) {
/* Close the "isComposing" element. */ /* Close the "isComposing" element. */
......
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