Ignore:
Timestamp:
May 2, 2007 5:14:29 AM (17 years ago)
Author:
bennylp
Message:

Ported PJSIP and PJSIP-SIMPLE to Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-simple/iscomposing.c

    r974 r1241  
    9696    if (is_composing && refresh > 1 && refresh < 3601) { 
    9797        node = pj_xml_node_new(pool, &STR_REFRESH); 
    98         node->content.ptr = pj_pool_alloc(pool, 10); 
     98        node->content.ptr = (char*) pj_pool_alloc(pool, 10); 
    9999        node->content.slen = pj_utoa(refresh, node->content.ptr); 
    100100        pj_xml_add_node(doc, node); 
     
    114114                           char *buf, pj_size_t size) 
    115115{ 
    116     return pj_xml_print(msg_body->data, buf, size, PJ_TRUE); 
     116    return pj_xml_print((const pj_xml_node*)msg_body->data, buf, size,  
     117                        PJ_TRUE); 
    117118} 
    118119 
     
    124125{ 
    125126    PJ_UNUSED_ARG(len); 
    126     return pj_xml_clone( pool, data); 
     127    return pj_xml_clone( pool, (const pj_xml_node*)data); 
    127128} 
    128129 
     
    144145 
    145146 
    146     body = pj_pool_zalloc(pool, sizeof(pjsip_msg_body)); 
     147    body = PJ_POOL_ZALLOC_T(pool, pjsip_msg_body); 
    147148    body->content_type.type = STR_MIME_TYPE; 
    148149    body->content_type.subtype = STR_MIME_SUBTYPE; 
Note: See TracChangeset for help on using the changeset viewer.