summaryrefslogtreecommitdiff
path: root/pjnath/src/pjstun-srv-test/server.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-05-11 15:14:34 +0000
committerBenny Prijono <bennylp@teluu.com>2007-05-11 15:14:34 +0000
commit208776ec0c5c77623637a28b88391067df24e682 (patch)
treed474825faeaa48869df57b5470a8ba417ebf4489 /pjnath/src/pjstun-srv-test/server.c
parentb4e01cefd4f354128396e85f205ccfa0879bc319 (diff)
HUGE changeset to make the rest of the libraries compile with C++ mode
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/src/pjstun-srv-test/server.c')
-rw-r--r--pjnath/src/pjstun-srv-test/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pjnath/src/pjstun-srv-test/server.c b/pjnath/src/pjstun-srv-test/server.c
index eb1e12b0..b1adcf1d 100644
--- a/pjnath/src/pjstun-srv-test/server.c
+++ b/pjnath/src/pjstun-srv-test/server.c
@@ -87,7 +87,8 @@ PJ_DEF(pj_status_t) pj_stun_server_create(pj_pool_factory *pf,
srv->si.timer_heap);
srv->si.thread_cnt = thread_cnt;
- srv->threads = pj_pool_calloc(pool, thread_cnt, sizeof(pj_thread_t*));
+ srv->threads = (pj_thread_t**)
+ pj_pool_calloc(pool, thread_cnt, sizeof(pj_thread_t*));
for (i=0; i<thread_cnt; ++i) {
status = pj_thread_create(pool, "worker%p", &worker_thread,
srv, 0, 0, &srv->threads[i]);