Ignore:
Timestamp:
May 1, 2007 12:25:01 PM (14 years ago)
Author:
bennylp
Message:

Ported PJLIB-UTIL and PJNATH to Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/stun_simple_client.c

    r992 r1239  
    4242    int i, j, send_cnt = 0; 
    4343    pj_pool_t *pool; 
    44     struct { 
     44    struct query_rec { 
    4545        struct { 
    4646            pj_uint32_t mapped_addr; 
     
    6262 
    6363    /* Allocate client records */ 
    64     rec = pj_pool_calloc(pool, sock_cnt, sizeof(*rec)); 
     64    rec = (struct query_rec*) pj_pool_calloc(pool, sock_cnt, sizeof(*rec)); 
    6565    if (!rec) { 
    6666        status = PJ_ENOMEM; 
     
    9898        for (i=0; i<sock_cnt && status==PJ_SUCCESS; ++i) { 
    9999            for (j=0; j<2 && status==PJ_SUCCESS; ++j) { 
    100                 pjstun_msg_hdr *msg_hdr = out_msg; 
     100                pjstun_msg_hdr *msg_hdr = (pjstun_msg_hdr*) out_msg; 
    101101                pj_ssize_t sent_len; 
    102102 
     
    195195                } 
    196196 
    197                 attr = (void*)pjstun_msg_find_attr(&msg, PJSTUN_ATTR_MAPPED_ADDR); 
     197                attr = (pjstun_mapped_addr_attr*)  
     198                       pjstun_msg_find_attr(&msg, PJSTUN_ATTR_MAPPED_ADDR); 
    198199                if (!attr) { 
    199200                    status = PJLIB_UTIL_ESTUNNOMAP; 
Note: See TracChangeset for help on using the changeset viewer.