Module: sip-router
Branch: 3.1
Commit: b9ad35d54a7835f117642307dd44c1bb90108203
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b9ad35d…
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
(cherry picked from commit ed323cf7e12fe6e36f942b8a9716d4d4412f41b4)
---
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);