summaryrefslogtreecommitdiff
path: root/pjsip/src/test-pjsip/transport_test.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-07-23 14:38:49 +0000
committerBenny Prijono <bennylp@teluu.com>2006-07-23 14:38:49 +0000
commit506a01d84b9577c45ec6f95be15345017c96b809 (patch)
tree6597111b01ad386a463d90d27aa7973494a394db /pjsip/src/test-pjsip/transport_test.c
parent0e925222f36d4f3d34a88cbe149f8f761d47ac26 (diff)
Added 64bit Linux target (x86_64), also fixed compilation warnings when compiling for this target
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@624 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/test-pjsip/transport_test.c')
-rw-r--r--pjsip/src/test-pjsip/transport_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip/src/test-pjsip/transport_test.c b/pjsip/src/test-pjsip/transport_test.c
index 2d84efea..e5baa040 100644
--- a/pjsip/src/test-pjsip/transport_test.c
+++ b/pjsip/src/test-pjsip/transport_test.c
@@ -489,7 +489,7 @@ static void rt_tx_timer( pj_timer_heap_t *timer_heap,
static int rt_worker_thread(void *arg)
{
- int i, thread_id = (int)arg;
+ int i, thread_id = (int)(long)arg;
pj_time_val poll_delay = { 0, 10 };
/* Sleep to allow main threads to run. */
@@ -576,7 +576,7 @@ int transport_rt_test( pjsip_transport_type_e tp_type,
}
/* Create thread, suspended. */
- status = pj_thread_create(pool, "rttest%p", &rt_worker_thread, (void*)i, 0,
+ status = pj_thread_create(pool, "rttest%p", &rt_worker_thread, (void*)(long)i, 0,
PJ_THREAD_SUSPENDED, &rt_test_data[i].thread);
if (status != PJ_SUCCESS) {
app_perror(" error: unable to create thread", status);