mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 02:39:22 +00:00
Compilation fixes
This commit is contained in:
parent
af625e5c8f
commit
054a929f9b
2 changed files with 2 additions and 2 deletions
|
|
@ -128,7 +128,7 @@ void IsComposing::startRefreshTimer () {
|
|||
void IsComposing::startRemoteRefreshTimer (const char *refreshStr) {
|
||||
unsigned int duration = getRemoteRefreshTimerDuration();
|
||||
if (refreshStr)
|
||||
duration = static_cast<unsigned int>(stoi(refreshStr));
|
||||
duration = static_cast<unsigned int>(Utils::stoi(refreshStr));
|
||||
if (!remoteRefreshTimer) {
|
||||
remoteRefreshTimer = core->sal->create_timer(remoteRefreshTimerExpired, this,
|
||||
duration * 1000, "composing remote refresh timeout");
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ void {{jniPackage}}{{classCName}}Impl_addListener(JNIEnv* env, jobject thiz, jlo
|
|||
|
||||
void {{jniPackage}}{{classCName}}Impl_removeListener(JNIEnv* env, jobject thiz, jlong ptr, jobject jlistener) {
|
||||
{{classCName}} *cptr = ({{classCName}}*)ptr;
|
||||
const bctbx_list_t *cbs_list = {{cPrefix}}_get_callbacks(cptr);
|
||||
const bctbx_list_t *cbs_list = {{cPrefix}}_get_callbacks_list(cptr);
|
||||
bctbx_list_t *it;
|
||||
for (it = cbs_list; it != NULL; it = it->next) {
|
||||
{{classCName}}Cbs *cbs = ({{classCName}}Cbs *)it->data;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue