Changeset 2090 for pjproject


Ignore:
Timestamp:
Jun 28, 2008 2:48:10 PM (16 years ago)
Author:
bennylp
Message:

Fixed build error on Symbian

Location:
pjproject/trunk/pjnath/src/pjnath
Files:
2 edited

Legend:

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

    r2054 r2090  
    968968            } 
    969969 
    970             status = pj_turn_sock_sendto(comp->turn_sock, data, data_len, 
     970            status = pj_turn_sock_sendto(comp->turn_sock, (const pj_uint8_t*)data, data_len, 
    971971                                         dst_addr, dst_addr_len); 
    972972            return (status==PJ_SUCCESS||status==PJ_EPENDING) ?  
  • pjproject/trunk/pjnath/src/pjnath/turn_session.c

    r2046 r2090  
    824824        /* Add DATA attribute */ 
    825825        pj_stun_binary_attr_init(&data_attr, NULL, PJ_STUN_ATTR_DATA, NULL, 0); 
    826         data_attr.data = (void*)pkt; 
     826        data_attr.data = (pj_uint8_t*)pkt; 
    827827        data_attr.length = pkt_len; 
    828828        pj_stun_msg_add_attr(&send_ind, (pj_stun_attr_hdr*)&data_attr); 
Note: See TracChangeset for help on using the changeset viewer.