summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsip/sip_util.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-05-29 11:51:45 +0000
committerBenny Prijono <bennylp@teluu.com>2007-05-29 11:51:45 +0000
commite636937cd1db3027a0db880c02e89ce61a93dd82 (patch)
tree3ff04f9484c23261fb656a726dbfbccf9e71467d /pjsip/src/pjsip/sip_util.c
parent7a4c67e51902161c8011599f0d9a181e1aae2908 (diff)
Fixed Symbian (aka C++ mode) compilation error because of recent change in transport key in ticket #306 (thanks Esbjorn Dominique)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1317 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsip/sip_util.c')
-rw-r--r--pjsip/src/pjsip/sip_util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pjsip/src/pjsip/sip_util.c b/pjsip/src/pjsip/sip_util.c
index a611fe97..be9b4827 100644
--- a/pjsip/src/pjsip/sip_util.c
+++ b/pjsip/src/pjsip/sip_util.c
@@ -1076,7 +1076,7 @@ PJ_DEF(pj_status_t) pjsip_get_response_addr( pj_pool_t *pool,
pj_memcpy(&res_addr->addr, &rdata->pkt_info.src_addr,
rdata->pkt_info.src_addr_len);
res_addr->addr_len = rdata->pkt_info.src_addr_len;
- res_addr->dst_host.type = src_transport->key.type;
+ res_addr->dst_host.type=(pjsip_transport_type_e)src_transport->key.type;
res_addr->dst_host.flag = src_transport->flag;
pj_strdup( pool, &res_addr->dst_host.addr.host,
&rdata->msg_info.via->recvd_param);
@@ -1095,7 +1095,7 @@ PJ_DEF(pj_status_t) pjsip_get_response_addr( pj_pool_t *pool,
* that parameter is not present.
*/
res_addr->transport = NULL;
- res_addr->dst_host.type = src_transport->key.type;
+ res_addr->dst_host.type=(pjsip_transport_type_e)src_transport->key.type;
res_addr->dst_host.flag = src_transport->flag;
pj_strdup( pool, &res_addr->dst_host.addr.host,
&rdata->msg_info.via->maddr_param);
@@ -1114,7 +1114,7 @@ PJ_DEF(pj_status_t) pjsip_get_response_addr( pj_pool_t *pool,
pj_memcpy(&res_addr->addr, &rdata->pkt_info.src_addr,
rdata->pkt_info.src_addr_len);
res_addr->addr_len = rdata->pkt_info.src_addr_len;
- res_addr->dst_host.type = src_transport->key.type;
+ res_addr->dst_host.type=(pjsip_transport_type_e)src_transport->key.type;
res_addr->dst_host.flag = src_transport->flag;
pj_strdup( pool, &res_addr->dst_host.addr.host,
&rdata->msg_info.via->recvd_param);
@@ -1126,7 +1126,7 @@ PJ_DEF(pj_status_t) pjsip_get_response_addr( pj_pool_t *pool,
} else {
res_addr->transport = NULL;
- res_addr->dst_host.type = src_transport->key.type;
+ res_addr->dst_host.type=(pjsip_transport_type_e)src_transport->key.type;
res_addr->dst_host.flag = src_transport->flag;
pj_strdup( pool, &res_addr->dst_host.addr.host,
&rdata->msg_info.via->recvd_param);