- Timestamp:
- Mar 5, 2013 3:12:32 AM (12 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/lock.c
r4411 r4412 710 710 PJ_LOG(4,(THIS_FILE, "Group lock %p, ref_cnt=%d. Reference holders: %s", 711 711 grp_lock, pj_grp_lock_get_ref(grp_lock), info.ptr)); 712 #else 713 PJ_UNUSED_ARG(grp_lock); 712 714 #endif 713 715 } -
pjproject/trunk/pjmedia/src/pjmedia/converter.c
r4087 r4412 40 40 { 41 41 pjmedia_converter_mgr *mgr; 42 #if PJMEDIA_HAS_LIBSWSCALE && PJMEDIA_HAS_LIBAVUTIL 42 43 pj_status_t status = PJ_SUCCESS; 44 #endif 43 45 44 46 mgr = PJ_POOL_ALLOC_T(pool, pjmedia_converter_mgr); -
pjproject/trunk/pjnath/src/pjnath-test/concur_test.c
r4360 r4412 159 159 { 160 160 struct stun_test_session *test_sess = (struct stun_test_session*)pj_stun_sock_get_user_data(stun_sock); 161 162 PJ_UNUSED_ARG(op); 163 PJ_UNUSED_ARG(status); 164 161 165 test_sess->param.client_got_response++; 162 166 return PJ_TRUE; … … 193 197 pj_str_t server_ip = pj_str("127.0.0.1"); 194 198 status = pj_stun_sock_start(stun_sock[i], &server_ip, 195 test_sess->server_port, NULL);199 (pj_uint16_t)test_sess->server_port, NULL); 196 200 if (status != PJ_SUCCESS) { 197 201 PJ_PERROR(1,(THIS_FILE, status, "Error starting stun socket")); … … 324 328 } 325 329 330 /* Avoid compiler warning */ 331 goto on_return; 332 326 333 327 334 on_return: -
pjproject/trunk/pjnath/src/pjnath-test/ice_test.c
r4360 r4412 468 468 } \ 469 469 PJ_TIME_VAL_SUB(t, t0); \ 470 if (PJ_TIME_VAL_MSEC(t) >= (timeout)) break; \ 470 if ((unsigned)PJ_TIME_VAL_MSEC(t) >= (timeout)) \ 471 break; \ 471 472 } \ 472 473 } … … 1016 1017 int ice_conc_test(void) 1017 1018 { 1018 const intLOOP = 100;1019 const unsigned LOOP = 100; 1019 1020 pj_pool_t *pool; 1020 1021 pj_stun_config stun_cfg; … … 1035 1036 break; 1036 1037 } 1038 1039 /* Avoid compiler warning */ 1040 goto on_return; 1037 1041 1038 1042 on_return: -
pjproject/trunk/pjnath/src/pjnath/ice_strans.c
r4411 r4412 32 32 #include <pj/compat/socket.h> 33 33 34 35 #if 0 34 #define ENABLE_TRACE 0 35 36 #if defined(ENABLE_TRACE) && (ENABLE_TRACE != 0) 36 37 # define TRACE_PKT(expr) PJ_LOG(5,expr) 37 38 #else … … 1321 1322 pj_ice_strans_comp *comp; 1322 1323 pj_status_t status; 1324 #if defined(ENABLE_TRACE) && (ENABLE_TRACE != 0) 1325 char daddr[PJ_INET6_ADDRSTRLEN]; 1326 #endif 1323 1327 1324 1328 PJ_ASSERT_RETURN(comp_id && comp_id <= ice_st->comp_cnt, PJ_EINVAL); -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r4373 r4412 744 744 /* Copy binding port setting to STUN setting */ 745 745 pj_sockaddr_init(ice_cfg.af, &ice_cfg.stun.cfg.bound_addr, 746 &cfg->bound_addr, cfg->port);747 ice_cfg.stun.cfg.port_range = cfg->port_range;746 &cfg->bound_addr, (pj_uint16_t)cfg->port); 747 ice_cfg.stun.cfg.port_range = (pj_uint16_t)cfg->port_range; 748 748 if (cfg->port != 0 && ice_cfg.stun.cfg.port_range == 0) 749 ice_cfg.stun.cfg.port_range = pjsua_var.ua_cfg.max_calls * 10; 749 ice_cfg.stun.cfg.port_range = 750 (pj_uint16_t)(pjsua_var.ua_cfg.max_calls * 10); 750 751 751 752 /* Copy QoS setting to STUN setting */ … … 777 778 /* Copy binding port setting to TURN setting */ 778 779 pj_sockaddr_init(ice_cfg.af, &ice_cfg.turn.cfg.bound_addr, 779 &cfg->bound_addr, cfg->port);780 ice_cfg.turn.cfg.port_range = cfg->port_range;780 &cfg->bound_addr, (pj_uint16_t)cfg->port); 781 ice_cfg.turn.cfg.port_range = (pj_uint16_t)cfg->port_range; 781 782 if (cfg->port != 0 && ice_cfg.turn.cfg.port_range == 0) 782 ice_cfg.turn.cfg.port_range = pjsua_var.ua_cfg.max_calls * 10; 783 ice_cfg.turn.cfg.port_range = 784 (pj_uint16_t)(pjsua_var.ua_cfg.max_calls * 10); 783 785 } 784 786
Note: See TracChangeset
for help on using the changeset viewer.