Changeset 4897 for pjproject/trunk
- Timestamp:
- Aug 21, 2014 3:33:36 AM (10 years ago)
- Location:
- pjproject/trunk/pjsip/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r4889 r4897 3086 3086 if (status == PJ_SUCCESS) { 3087 3087 int addr_len = pj_sockaddr_get_len(&ai.ai_addr); 3088 pj_uint16_t port = dinfo.addr.port;3088 pj_uint16_t port = (pj_uint16_t)dinfo.addr.port; 3089 3089 3090 3090 if (port==0) { -
pjproject/trunk/pjsip/src/pjsua2/media.cpp
r4845 r4897 371 371 void *usr_data) 372 372 { 373 PJ_UNUSED_ARG(port); 373 374 AudioMediaPlayer *player = (AudioMediaPlayer*)usr_data; 374 375 return player->onEof() ? PJ_SUCCESS : PJ_EEOF; … … 577 578 for (i=0; i<digitMap.count; ++i) { 578 579 digitMap.digits[i].digit = digit_map[i].digit.c_str()[0]; 579 digitMap.digits[i].freq1 = digit_map[i].freq1;580 digitMap.digits[i].freq2 = digit_map[i].freq2;580 digitMap.digits[i].freq1 = (short)digit_map[i].freq1; 581 digitMap.digits[i].freq2 = (short)digit_map[i].freq2; 581 582 } 582 583
Note: See TracChangeset
for help on using the changeset viewer.