Ignore:
Timestamp:
Jun 19, 2013 6:47:43 AM (9 years ago)
Author:
riza
Message:

Re #1680: Add initial support for Win64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/test/msg_test.c

    r3553 r4537  
    248248    static pjsip_msg *print_msg; 
    249249    pj_status_t status = PJ_SUCCESS; 
    250     int len; 
     250    pj_ssize_t len; 
    251251    pj_str_t str1, str2; 
    252252    pjsip_hdr *hdr1, *hdr2; 
     
    810810        "m=audio 3456 RTP/AVP 0 1 3 99\r\n" 
    811811        "a=rtpmap:0 PCMU/8000\r\n"; 
    812     body->len = pj_ansi_strlen((const char*) body->data); 
     812    body->len = (unsigned)pj_ansi_strlen((const char*) body->data); 
    813813    body->print_body = &pjsip_print_text_body; 
    814814 
     
    18891889        struct hdr_test_t  *test = &hdr_test_data[i]; 
    18901890        pj_str_t hname; 
    1891         int len, parsed_len; 
     1891        pj_size_t len; 
     1892        int parsed_len; 
    18921893        pj_pool_t *pool; 
    18931894        pjsip_hdr *parsed_hdr1=NULL, *parsed_hdr2=NULL; 
     
    19951996        unsigned print; 
    19961997    } run[COUNT]; 
    1997     unsigned i, max, avg_len; 
     1998    unsigned i, max; 
     1999    int avg_len; 
    19982000    char desc[250]; 
    19992001    pj_status_t status; 
     
    20172019    /* Calculate average message length */ 
    20182020    for (i=0, avg_len=0; i<PJ_ARRAY_SIZE(test_array); ++i) { 
    2019         avg_len += test_array[i].len; 
     2021        avg_len += (int)test_array[i].len; 
    20202022    } 
    20212023    avg_len /= PJ_ARRAY_SIZE(test_array); 
Note: See TracChangeset for help on using the changeset viewer.