Ignore:
Timestamp:
Dec 19, 2016 3:01:55 AM (8 years ago)
Author:
nanang
Message:

Misc (re #1945): Fixed various compile warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp

    r5441 r5501  
    12941294    prm.mediaIdx = media_idx; 
    12951295    prm.srtpUse  = srtp_opt->use; 
    1296     for (int i = 0; i < srtp_opt->crypto_count; i++) { 
     1296    for (unsigned i = 0; i < srtp_opt->crypto_count; i++) { 
    12971297        SrtpCrypto crypto; 
    12981298         
     
    13071307    srtp_opt->use = prm.srtpUse; 
    13081308    srtp_opt->crypto_count = prm.cryptos.size(); 
    1309     for (int i = 0; i < srtp_opt->crypto_count; i++) { 
     1309    for (unsigned i = 0; i < srtp_opt->crypto_count; i++) { 
    13101310        srtp_opt->crypto[i].key   = str2Pj(prm.cryptos[i].key); 
    13111311        srtp_opt->crypto[i].name  = str2Pj(prm.cryptos[i].name); 
    13121312        srtp_opt->crypto[i].flags = prm.cryptos[i].flags; 
    1313     }     
     1313    } 
    13141314} 
    13151315 
Note: See TracChangeset for help on using the changeset viewer.