diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-10-21 02:22:41 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-10-21 02:22:41 +0000 |
commit | 98c8866ae62162694b7da51128d310ec27fabd0a (patch) | |
tree | 7cd934446c47dfcb9a9f11341264b8817d2c8d64 /pjsip-apps/src/python/_pjsua.c | |
parent | 3fde079dd8b4ab7b422a441973faca783051b564 (diff) |
Misc (re #1134): fixed compilation error in python module due to last change in session timer field from require_timer to use_timer. Thanks Beau Gunderson for the patch!
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3352 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/python/_pjsua.c')
-rw-r--r-- | pjsip-apps/src/python/_pjsua.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip-apps/src/python/_pjsua.c b/pjsip-apps/src/python/_pjsua.c index 6d28d170..d25be6c8 100644 --- a/pjsip-apps/src/python/_pjsua.c +++ b/pjsip-apps/src/python/_pjsua.c @@ -2183,7 +2183,7 @@ static PyObject *py_pjsua_im_send(PyObject *pSelf, PyObject *pArgs) } status = pjsua_im_send(acc_id, &to, mime_type, &content, - &msg_data, (void *)user_data); + &msg_data, (void*)(long)user_data); if (pool) pj_pool_release(pool); @@ -3710,7 +3710,7 @@ static PyObject *py_pjsua_call_send_im(PyObject *pSelf, PyObject *pArgs) } status = pjsua_call_send_im(call_id, mime_type, &content, - &msg_data, (void *)user_data); + &msg_data, (void*)(long)user_data); if (pool) pj_pool_release(pool); |