Ignore:
Timestamp:
May 11, 2007 3:14:34 PM (12 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/pjsip/src/test-pjsip/uri_test.c

    r1231 r1266  
    383383        do { \ 
    384384            pjsip_param *param; \ 
    385             param=pj_pool_alloc(pool, sizeof(pjsip_param)); \ 
     385            param=PJ_POOL_ALLOC_T(pool, pjsip_param); \ 
    386386            param->name = pj_str(pname); \ 
    387387            param->value = pj_str(pvalue); \ 
     
    663663    uri->number = pj_str("911"); 
    664664     
    665     p = pj_pool_alloc(pool, sizeof(*p)); 
     665    p = PJ_POOL_ALLOC_T(pool, pjsip_param); 
    666666    p->name = p->value = pj_str("p1"); 
    667667    pj_list_insert_before(&uri->other_param, p); 
     
    726726 
    727727    /* Print both URI. */ 
    728     s1.ptr = pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); 
    729     s2.ptr = pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); 
     728    s1.ptr = (char*) pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); 
     729    s2.ptr = (char*) pj_pool_alloc(pool, PJSIP_MAX_URL_SIZE); 
    730730 
    731731    pj_get_timestamp(&t1); 
Note: See TracChangeset for help on using the changeset viewer.