Module: sip-router
Branch: master
Commit: ed323cf7e12fe6e36f942b8a9716d4d4412f41b4
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ed323cf…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Mar 30 21:25:25 2011 +0200
dialog(k): update for get_stat_val() type
---
modules_k/dialog/dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/dialog/dialog.c b/modules_k/dialog/dialog.c
index 3d536a1..e581ca3 100644
--- a/modules_k/dialog/dialog.c
+++ b/modules_k/dialog/dialog.c
@@ -362,7 +362,7 @@ static int pv_get_dlg_count(struct sip_msg *msg, pv_param_t *param,
if(msg==NULL || res==NULL)
return -1;
- n = active_dlgs ? get_stat_val(active_dlgs) : 0;
+ n = active_dlgs ? (int)get_stat_val(active_dlgs) : 0;
l = 0;
ch = int2str( n, &l);