Ignore:
Timestamp:
Aug 16, 2018 2:39:36 AM (2 years ago)
Author:
nanang
Message:

Re #2096: Fixed some compile warnings.

File:
1 edited

Legend:

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

    r5857 r5860  
    10561056        PJ_LOG(4, (srtp->pool->obj_name, 
    10571057                   "SRTP started, keying=%s, crypto=%s", 
    1058                    (srtp->keying[0]->type==PJMEDIA_SRTP_KEYING_SDES? 
     1058                   ((int)srtp->keying[0]->type==PJMEDIA_SRTP_KEYING_SDES? 
    10591059                    "SDES":"DTLS-SRTP"), 
    10601060                   srtp->tx_policy.name.ptr)); 
     
    16521652        pj_assert(srtp->keying_cnt == 1); 
    16531653        PJ_LOG(4, (srtp->pool->obj_name, "SRTP uses keying method %s", 
    1654                    (srtp->keying[0]->type==PJMEDIA_SRTP_KEYING_SDES? 
     1654                   ((int)srtp->keying[0]->type==PJMEDIA_SRTP_KEYING_SDES? 
    16551655                    "SDES":"DTLS-SRTP"))); 
    16561656    } 
Note: See TracChangeset for help on using the changeset viewer.