Ignore:
Timestamp:
May 27, 2019 3:01:08 PM (21 months ago)
Author:
riza
Message:

Re #2147 (misc): Fix various compilation warnings on VS2015.

File:
1 edited

Legend:

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

    r5989 r6009  
    241241    info->sock_info.rtp_sock = 1; 
    242242    pj_sockaddr_init(loop->setting.af, &info->sock_info.rtp_addr_name,  
    243                      &loop->setting.addr, loop->setting.port); 
     243                     &loop->setting.addr, (pj_uint16_t)loop->setting.port); 
    244244    info->sock_info.rtcp_sock = 2; 
    245245    pj_sockaddr_init(loop->setting.af, &info->sock_info.rtcp_addr_name, 
    246                      &loop->setting.addr, loop->setting.port + 1); 
     246                     &loop->setting.addr, (pj_uint16_t)loop->setting.port + 1); 
    247247 
    248248    return PJ_SUCCESS; 
Note: See TracChangeset for help on using the changeset viewer.