Changeset 4550


Ignore:
Timestamp:
Jul 2, 2013 11:45:57 AM (11 years ago)
Author:
riza
Message:

Re #1680:

  • Win64 Project properties modification, using x64 as target machine.
  • Fix incorrect data type which might result in unsafe code.
Location:
pjproject/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/build/vs/pjproject-vs8-win64-common-defaults.vsprops

    r4537 r4550  
    1212                Name="VCLinkerTool" 
    1313                SubSystem="1" 
    14                 TargetMachine="1" 
     14                TargetMachine="17" 
    1515        /> 
    1616        <UserMacro 
  • pjproject/trunk/pjlib/src/pjlib-test/ioq_tcp.c

    r4537 r4550  
    255255    int bufsize = BUF_MIN_SIZE; 
    256256    int status = -1; 
    257     pj_ssize_t pending_op = 0; 
     257    int pending_op = 0; 
    258258    pj_timestamp t_elapsed; 
    259259    pj_str_t s; 
     
    468468        pj_ioqueue_destroy(ioque); 
    469469    pj_pool_release(pool); 
    470     return (int)status; 
     470    return status; 
    471471 
    472472} 
  • pjproject/trunk/pjsip/src/pjsip/sip_msg.c

    r4537 r4550  
    400400{ 
    401401    char *p=buf, *end=buf+size; 
    402     pj_size_t len; 
     402    pj_ssize_t len; 
    403403    pjsip_hdr *hdr; 
    404404    pj_str_t clen_hdr =  { "Content-Length: ", 16}; 
  • pjproject/trunk/pjsip/src/test/msg_test.c

    r4537 r4550  
    18891889        struct hdr_test_t  *test = &hdr_test_data[i]; 
    18901890        pj_str_t hname; 
    1891         pj_size_t len; 
     1891        pj_ssize_t len; 
    18921892        int parsed_len; 
    18931893        pj_pool_t *pool; 
     
    19961996        unsigned print; 
    19971997    } run[COUNT]; 
    1998     unsigned i, max; 
    1999     int avg_len; 
     1998    unsigned i, max, avg_len; 
    20001999    char desc[250]; 
    20012000    pj_status_t status; 
     
    20192018    /* Calculate average message length */ 
    20202019    for (i=0, avg_len=0; i<PJ_ARRAY_SIZE(test_array); ++i) { 
    2021         avg_len += (int)test_array[i].len; 
     2020        avg_len += (unsigned)test_array[i].len; 
    20222021    } 
    20232022    avg_len /= PJ_ARRAY_SIZE(test_array); 
Note: See TracChangeset for help on using the changeset viewer.