Changeset 2860


Ignore:
Timestamp:
Aug 11, 2009 6:10:15 PM (10 years ago)
Author:
nanang
Message:

Ticket #930: Fixed compile error for C++ (missing explicit casting from void*).

File:
1 edited

Legend:

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

    r2855 r2860  
    215215    pj_strdup_with_null(dlg->pool, &tmp,  
    216216                        local_contact ? local_contact : local_uri); 
    217     dlg->local.contact = pjsip_parse_hdr(dlg->pool, &HCONTACT, tmp.ptr,  
     217    dlg->local.contact = (pjsip_contact_hdr*) 
     218                         pjsip_parse_hdr(dlg->pool, &HCONTACT, tmp.ptr,  
    218219                                         tmp.slen, NULL); 
    219220    if (!dlg->local.contact) { 
     
    393394 
    394395        pj_strdup_with_null(dlg->pool, &tmp, contact); 
    395         dlg->local.contact = pjsip_parse_hdr(dlg->pool, &HCONTACT, tmp.ptr,  
     396        dlg->local.contact = (pjsip_contact_hdr*) 
     397                             pjsip_parse_hdr(dlg->pool, &HCONTACT, tmp.ptr,  
    396398                                             tmp.slen, NULL); 
    397399        if (!dlg->local.contact) { 
Note: See TracChangeset for help on using the changeset viewer.