Re #1680:
- Win64 Project properties modification, using x64 as target machine. - Fix incorrect data type which might result in unsafe code. git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4550 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
9b5dfe790a
commit
639f9f6721
|
@ -11,7 +11,7 @@
|
|||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
TargetMachine="17"
|
||||
/>
|
||||
<UserMacro
|
||||
Name="TargetCPU"
|
||||
|
|
|
@ -254,7 +254,7 @@ static int compliance_test_0(pj_bool_t allow_concur)
|
|||
pj_ioqueue_op_key_t accept_op;
|
||||
int bufsize = BUF_MIN_SIZE;
|
||||
int status = -1;
|
||||
pj_ssize_t pending_op = 0;
|
||||
int pending_op = 0;
|
||||
pj_timestamp t_elapsed;
|
||||
pj_str_t s;
|
||||
pj_status_t rc;
|
||||
|
@ -467,7 +467,7 @@ on_error:
|
|||
if (ioque != NULL)
|
||||
pj_ioqueue_destroy(ioque);
|
||||
pj_pool_release(pool);
|
||||
return (int)status;
|
||||
return status;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -399,7 +399,7 @@ PJ_DEF(pj_ssize_t) pjsip_msg_print( const pjsip_msg *msg,
|
|||
char *buf, pj_size_t size)
|
||||
{
|
||||
char *p=buf, *end=buf+size;
|
||||
pj_size_t len;
|
||||
pj_ssize_t len;
|
||||
pjsip_hdr *hdr;
|
||||
pj_str_t clen_hdr = { "Content-Length: ", 16};
|
||||
|
||||
|
|
|
@ -1888,7 +1888,7 @@ static int hdr_test(void)
|
|||
for (i=0; i<PJ_ARRAY_SIZE(hdr_test_data); ++i) {
|
||||
struct hdr_test_t *test = &hdr_test_data[i];
|
||||
pj_str_t hname;
|
||||
pj_size_t len;
|
||||
pj_ssize_t len;
|
||||
int parsed_len;
|
||||
pj_pool_t *pool;
|
||||
pjsip_hdr *parsed_hdr1=NULL, *parsed_hdr2=NULL;
|
||||
|
@ -1995,8 +1995,7 @@ int msg_test(void)
|
|||
unsigned parse;
|
||||
unsigned print;
|
||||
} run[COUNT];
|
||||
unsigned i, max;
|
||||
int avg_len;
|
||||
unsigned i, max, avg_len;
|
||||
char desc[250];
|
||||
pj_status_t status;
|
||||
|
||||
|
@ -2018,7 +2017,7 @@ int msg_test(void)
|
|||
|
||||
/* Calculate average message length */
|
||||
for (i=0, avg_len=0; i<PJ_ARRAY_SIZE(test_array); ++i) {
|
||||
avg_len += (int)test_array[i].len;
|
||||
avg_len += (unsigned)test_array[i].len;
|
||||
}
|
||||
avg_len /= PJ_ARRAY_SIZE(test_array);
|
||||
|
||||
|
|
Loading…
Reference in New Issue