Ignore:
Timestamp:
May 11, 2007 3:14:34 PM (14 years ago)
Author:
bennylp
Message:

HUGE changeset to make the rest of the libraries compile with C++ mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/transport_udp.c

    r1248 r1266  
    235235        return PJ_ENOMEM; 
    236236 
    237     tp = pj_pool_zalloc(pool, sizeof(struct transport_udp)); 
     237    tp = PJ_POOL_ZALLOC_T(pool, struct transport_udp); 
    238238    tp->pool = pool; 
    239239    tp->options = options; 
     
    379379    PJ_UNUSED_ARG(op_key); 
    380380 
    381     udp = pj_ioqueue_get_user_data(key); 
     381    udp = (struct transport_udp*) pj_ioqueue_get_user_data(key); 
    382382 
    383383    do { 
     
    480480    PJ_UNUSED_ARG(op_key); 
    481481 
    482     udp = pj_ioqueue_get_user_data(key); 
     482    udp = (struct transport_udp*) pj_ioqueue_get_user_data(key); 
    483483 
    484484    do { 
     
    568568 
    569569    /* Copy remote RTP address, if one is specified. */ 
    570     rtcp_addr = rem_rtcp; 
     570    rtcp_addr = (const pj_sockaddr_in*) rem_rtcp; 
    571571    if (rtcp_addr && rtcp_addr->sin_addr.s_addr != 0) { 
    572572        pj_memcpy(&udp->rem_rtcp_addr, rem_rtcp, sizeof(pj_sockaddr_in)); 
Note: See TracChangeset for help on using the changeset viewer.