summaryrefslogtreecommitdiff
path: root/pjnath/src/pjnath/ice_strans.c
diff options
context:
space:
mode:
Diffstat (limited to 'pjnath/src/pjnath/ice_strans.c')
-rw-r--r--pjnath/src/pjnath/ice_strans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjnath/src/pjnath/ice_strans.c b/pjnath/src/pjnath/ice_strans.c
index 1f7ca1e8..65c4f4ec 100644
--- a/pjnath/src/pjnath/ice_strans.c
+++ b/pjnath/src/pjnath/ice_strans.c
@@ -268,7 +268,7 @@ static pj_status_t add_update_turn(pj_ice_strans *ice_st,
/* Also if this component's default candidate is set to relay,
* move it temporarily to something else.
*/
- if (comp->default_cand == cand - comp->cand_list) {
+ if ((int)comp->default_cand == cand - comp->cand_list) {
/* Init to something */
comp->default_cand = 0;
/* Use srflx candidate as the default, if any */