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/sdp.c

    r5982 r6009  
    507507    /* Parse */ 
    508508    PJ_TRY { 
    509         pj_str_t attr; 
     509        pj_str_t scan_attr; 
    510510 
    511511        /* Get the ssrc */ 
     
    514514 
    515515        pj_scan_get_char(&scanner); 
    516         pj_scan_get(&scanner, &cs_token, &attr); 
     516        pj_scan_get(&scanner, &cs_token, &scan_attr); 
    517517         
    518518        /* Get cname attribute, if any */ 
    519519        if (!pj_scan_is_eof(&scanner) && 
    520520            pj_scan_get_char(&scanner) == ':' && 
    521             pj_strcmp2(&attr, "cname")) 
     521            pj_strcmp2(&scan_attr, "cname")) 
    522522        { 
    523523            pj_scan_get(&scanner, &cs_token, &ssrc->cname); 
Note: See TracChangeset for help on using the changeset viewer.