Ignore:
Timestamp:
Jun 25, 2018 7:56:57 AM (15 months ago)
Author:
nanang
Message:

Misc (re #2059): Fixed various compile warnings on GCC 8.1 (thanks Alexander Traud for the report).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/ice_session.c

    r5665 r5813  
    27352735    if (i == ice->rcand_cnt) { 
    27362736        char raddr[PJ_INET6_ADDRSTRLEN]; 
     2737        void *p; 
     2738 
    27372739        if (ice->rcand_cnt >= PJ_ICE_MAX_CAND) { 
    27382740            LOG4((ice->obj_name,  
     
    27492751 
    27502752        /* Foundation is random, unique from other foundation */ 
    2751         rcand->foundation.ptr = (char*) pj_pool_alloc(ice->pool, 36); 
     2753        rcand->foundation.ptr = p = (char*) pj_pool_alloc(ice->pool, 36); 
    27522754        rcand->foundation.slen = pj_ansi_snprintf(rcand->foundation.ptr, 36, 
    2753                                                   "f%p",  
    2754                                                   rcand->foundation.ptr); 
     2755                                                  "f%p", p); 
    27552756 
    27562757        LOG4((ice->obj_name,  
Note: See TracChangeset for help on using the changeset viewer.