Changeset 5654


Ignore:
Timestamp:
Sep 20, 2017 4:34:27 AM (7 years ago)
Author:
riza
Message:

Re #1994(misc): Fixed various warnings on VS2015.

Location:
pjproject/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/transport_udp.c

    r5636 r5654  
    689689    rtcp_addr = (const pj_sockaddr*) rem_rtcp; 
    690690    if (rtcp_addr && pj_sockaddr_has_addr(rtcp_addr)) { 
    691         pj_status_t status; 
    692  
    693691        status = pj_sockaddr_synthesize(sock_addr.addr.sa_family, 
    694692                                        &remote_rtcp, rem_rtcp); 
     
    730728    { 
    731729        unsigned sobuf_size = PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE; 
    732         pj_status_t status; 
     730         
    733731        status = pj_sock_setsockopt_sobuf(udp->rtp_sock, pj_SO_RCVBUF(), 
    734732                                          PJ_TRUE, &sobuf_size); 
     
    750748    { 
    751749        unsigned sobuf_size = PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE; 
    752         pj_status_t status; 
     750 
    753751        status = pj_sock_setsockopt_sobuf(udp->rtp_sock, pj_SO_SNDBUF(), 
    754752                                          PJ_TRUE, &sobuf_size); 
  • pjproject/trunk/pjnath/src/pjnath/ice_session.c

    r5636 r5654  
    22962296         */ 
    22972297        pj_sockaddr synth_addr; 
    2298         pj_status_t status; 
    22992298         
    23002299        status = pj_sockaddr_synthesize(pj_AF_INET6(), &synth_addr, 
     
    26312630             */ 
    26322631            for (i = 0; i < ice->rcand_cnt; ++i) { 
    2633                 pj_status_t status; 
    26342632                pj_sockaddr synth_addr; 
    26352633             
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_cli.c

    r5649 r5654  
    25912591static pj_status_t cmd_ip_change_handler(pj_cli_cmd_val *cval) 
    25922592{ 
    2593     pj_status_t status = PJ_SUCCESS; 
    25942593    pjsua_ip_change_param param; 
    25952594    PJ_UNUSED_ARG(cval); 
  • pjproject/trunk/pjsip/src/pjsua2/media.cpp

    r5645 r5654  
    15921592    param.info.clock_rate = info.clockRate; 
    15931593    param.info.channel_cnt = info.channelCnt; 
    1594     param.info.avg_bps = info.avgBps; 
    1595     param.info.max_bps= info.maxBps; 
     1594    param.info.avg_bps = (pj_uint32_t)info.avgBps; 
     1595    param.info.max_bps= (pj_uint32_t)info.maxBps; 
    15961596    param.info.max_rx_frame_size = info.maxRxFrameSize; 
    1597     param.info.frm_ptime = info.frameLen; 
    1598     param.info.pcm_bits_per_sample = info.pcmBitsPerSample; 
    1599     param.info.pt = info.pt; 
     1597    param.info.frm_ptime = (pj_uint16_t)info.frameLen; 
     1598    param.info.pcm_bits_per_sample = (pj_uint8_t)info.pcmBitsPerSample; 
     1599    param.info.pt = (pj_uint8_t)info.pt; 
    16001600    param.info.fmt_id = info.fmtId; 
    16011601 
    16021602    /* setting part. */ 
    1603     param.setting.frm_per_pkt = setting.frmPerPkt; 
     1603    param.setting.frm_per_pkt = (pj_uint8_t)setting.frmPerPkt; 
    16041604    param.setting.vad = setting.vad; 
    16051605    param.setting.cng = setting.cng; 
Note: See TracChangeset for help on using the changeset viewer.