Ignore:
Timestamp:
Jun 4, 2008 2:44:29 PM (12 years ago)
Author:
bennylp
Message:

Fixed gcc warnings about type pruned pointers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-ua/sip_reg.c

    r1959 r1981  
    569569    /* Add Contact headers. */ 
    570570    hdr = (pjsip_hdr*)regc->contact_hdr_list.next; 
    571     while (hdr != (pjsip_hdr*)&regc->contact_hdr_list) { 
     571    while ((void*)hdr != (void*)&regc->contact_hdr_list) { 
    572572        pjsip_msg_add_hdr(msg, (pjsip_hdr*) 
    573573                               pjsip_hdr_shallow_clone(tdata->pool, hdr)); 
Note: See TracChangeset for help on using the changeset viewer.