Module: sip-router
Branch: master
Commit: 9240774c68b85ca15944b4a4e8c4ca7bfa80dae1
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9240774…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Tue Oct 5 20:03:22 2010 +0200
siputils(k): pointer to int conversion warning fix
---
modules_k/siputils/config.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/siputils/config.c b/modules_k/siputils/config.c
index 4294f27..77f8b33 100644
--- a/modules_k/siputils/config.c
+++ b/modules_k/siputils/config.c
@@ -46,6 +46,6 @@ cfg_def_t siputils_cfg_def[] = {
};
int ring_timeout_fixup(void *handle, str* gname, str* name, void **val){
- if((int)*val > 0) return 0;
+ if((int)(long)*val > 0) return 0;
return -1;
}