Changeset 1236


Ignore:
Timestamp:
May 1, 2007 6:36:15 AM (12 years ago)
Author:
bennylp
Message:

Fixed build error on Linux

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/ioq_perf.c

    r1235 r1236  
    333333        struct thread_arg *arg; 
    334334 
    335         arg = (thread_arg*) pj_pool_zalloc(pool, sizeof(*arg)); 
     335        arg = (struct thread_arg*) pj_pool_zalloc(pool, sizeof(*arg)); 
    336336        arg->id = i; 
    337337        arg->ioqueue = ioqueue; 
  • pjproject/trunk/pjsip/src/test-pjsip/msg_test.c

    r1228 r1236  
    971971} 
    972972 
    973 /* "application/*, text/plain\r\n" */ 
     973/* "application/ *, text/plain\r\n" */ 
    974974static int hdr_test_accept1(pjsip_hdr *h) 
    975975{ 
     
    991991} 
    992992 
    993 /* "application/*;p1=v1, text/plain\r\n" */ 
     993/* "application/ *;p1=v1, text/plain\r\n" */ 
    994994static int hdr_test_accept2(pjsip_hdr *h) 
    995995{ 
     
    11171117#define NAME_ADDR           "<" ADDR_SPEC ">" 
    11181118 */ 
    1119 static int nameaddr_test(pjsip_uri *uri) 
    1120 { 
    1121     pjsip_sip_uri *sip_uri = (pjsip_sip_uri *)pjsip_uri_get_uri(uri); 
     1119static int nameaddr_test(void *uri) 
     1120{ 
     1121    pjsip_sip_uri *sip_uri=(pjsip_sip_uri *)pjsip_uri_get_uri((pjsip_uri*)uri); 
    11221122    pjsip_param *param; 
    11231123    int rc; 
     
    13561356        return -2210; 
    13571357 
    1358     rc = nameaddr_test((pjsip_uri*)&hdr->name_addr); 
     1358    rc = nameaddr_test(&hdr->name_addr); 
    13591359    if (rc != 0) 
    13601360        return rc; 
     
    14711471        } 
    14721472 
    1473 #if 0 
     1473#if 1 
    14741474        /* Parse with hshortname, if present */ 
    14751475        if (test->hshort_name) { 
Note: See TracChangeset for help on using the changeset viewer.