diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-05-15 11:15:58 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-05-15 11:15:58 +0000 |
commit | ec97a60507ab3d813c33479aaff19cea426f6c27 (patch) | |
tree | ba0ba67b6d6df7eadfb9e4d230917288620f9073 /pjsip/src/pjsua-lib/pjsua_im.c | |
parent | 240fa9cd6f0ede43211b799f4706df92c62a5be9 (diff) |
Fixed Symbian compilation error for pjsua_im.c
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1276 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib/pjsua_im.c')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_im.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_im.c b/pjsip/src/pjsua-lib/pjsua_im.c index e059ac94..44b771f6 100644 --- a/pjsip/src/pjsua-lib/pjsua_im.c +++ b/pjsip/src/pjsua-lib/pjsua_im.c @@ -190,7 +190,7 @@ void pjsua_im_process_pager(int call_id, const pj_str_t *from, pj_str_t text_body; /* Save text body */ - text_body.ptr = rdata->msg_info.msg->body->data; + text_body.ptr = (char*)rdata->msg_info.msg->body->data; text_body.slen = rdata->msg_info.msg->body->len; /* Get mime type */ @@ -261,7 +261,7 @@ static pj_bool_t im_on_rx_request(pjsip_rx_data *rdata) * Contact header contains the port number information. If this is * not available, then use From header. */ - from.ptr = pj_pool_alloc(rdata->tp_info.pool, PJSIP_MAX_URL_SIZE); + from.ptr = (char*)pj_pool_alloc(rdata->tp_info.pool, PJSIP_MAX_URL_SIZE); from.slen = pjsip_uri_print(PJSIP_URI_IN_FROMTO_HDR, rdata->msg_info.from->uri, from.ptr, PJSIP_MAX_URL_SIZE); |