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

Re #1680: Add initial support for Win64

File:
1 edited

Legend:

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

    r4210 r4537  
    10401040        unsigned cmp; 
    10411041    } run[COUNT]; 
    1042     unsigned i, max, avg_len; 
     1042    unsigned i, max; 
     1043    pj_ssize_t avg_len; 
    10431044    char desc[200]; 
    10441045    pj_status_t status; 
     
    10751076                          "(tested with %d URI set, with average length of " 
    10761077                          "%d chars)", 
    1077                           (int)PJ_ARRAY_SIZE(uri_test_array), avg_len); 
     1078                          (int)PJ_ARRAY_SIZE(uri_test_array), (int)avg_len); 
    10781079 
    10791080    report_ival("uri-parse-per-sec", max, "URI/sec", desc); 
    10801081 
    10811082    /* URI parsing bandwidth */ 
    1082     report_ival("uri-parse-bandwidth-mb", avg_len*max/1000000, "MB/sec", 
     1083    report_ival("uri-parse-bandwidth-mb", (int)avg_len*max/1000000, "MB/sec", 
    10831084                "URI parsing bandwidth in megabytes (number of megabytes " 
    10841085                "worth of URI that can be parsed per second)"); 
     
    10951096                          "(tested with %d URI set, with average length of " 
    10961097                          "%d chars)", 
    1097                           (int)PJ_ARRAY_SIZE(uri_test_array), avg_len); 
     1098                          (int)PJ_ARRAY_SIZE(uri_test_array), (int)avg_len); 
    10981099 
    10991100    report_ival("uri-print-per-sec", max, "URI/sec", desc); 
     
    11091110                          "(tested with %d URI set, with average length of " 
    11101111                          "%d chars)", 
    1111                           (int)PJ_ARRAY_SIZE(uri_test_array), avg_len); 
     1112                          (int)PJ_ARRAY_SIZE(uri_test_array), (int)avg_len); 
    11121113 
    11131114    report_ival("uri-cmp-per-sec", max, "URI/sec", desc); 
Note: See TracChangeset for help on using the changeset viewer.