Ignore:
Timestamp:
Aug 1, 2017 7:49:34 AM (7 years ago)
Author:
nanang
Message:

Misc (re #1994): Fixed compile warnings on MSVC 2005 & 2015.

File:
1 edited

Legend:

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

    r5621 r5635  
    158158 
    159159    /* Key transmitted via SDP should be base64 encoded. */ 
    160     status = pj_base64_encode((pj_uint8_t*)crypto->key.ptr, crypto->key.slen, 
     160    status = pj_base64_encode((pj_uint8_t*)crypto->key.ptr, (int)crypto->key.slen, 
    161161                              b64_key, &b64_key_len); 
    162162    if (status != PJ_SUCCESS) { 
     
    192192    pj_str_t token, delim; 
    193193    pj_status_t status; 
    194     int itmp, found_idx; 
     194    int itmp; 
     195    pj_ssize_t found_idx; 
    195196 
    196197    pj_bzero(crypto, sizeof(*crypto)); 
Note: See TracChangeset for help on using the changeset viewer.