Changeset 2372 for pjproject


Ignore:
Timestamp:
Dec 5, 2008 1:56:05 PM (16 years ago)
Author:
nanang
Message:

Fixed missing explicit type-cast that may cause build-fail (on C++ compiler).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_util.c

    r2370 r2372  
    7979    /* Create new element */ 
    8080    t = PJ_POOL_ZALLOC_T(pool, pjsip_target); 
    81     t->uri = pjsip_uri_clone(pool, uri); 
     81    t->uri = (pjsip_uri*)pjsip_uri_clone(pool, uri); 
    8282    t->q1000 = q1000; 
    8383 
     
    175175    PJ_ASSERT_RETURN(target && pool && status_code && reason, PJ_EINVAL); 
    176176 
    177     target->code = status_code; 
     177    target->code = (pjsip_status_code)status_code; 
    178178    pj_strdup(pool, &target->reason, reason); 
    179179 
Note: See TracChangeset for help on using the changeset viewer.