Module: sip-router
Branch: master
Commit: 26e04f2053c9f33333bbbf79af6897428a1d9a88
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=26e04f2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Dec 6 18:25:30 2013 +0100
permissions: signess warning fix
---
modules/permissions/address.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/permissions/address.c b/modules/permissions/address.c
index 6dc3275..2600086 100644
--- a/modules/permissions/address.c
+++ b/modules/permissions/address.c
@@ -191,12 +191,12 @@ int reload_address_table(void)
// goto dberror;
} else {
if(ipa->af == AF_INET6) {
- if(mask<0 || mask>128) {
+ if((int)mask<0 || mask>128) {
LM_DBG("failure during IP mask check for v6\n");
goto dberror;
}
} else {
- if(mask<0 || mask>32) {
+ if((int)mask<0 || mask>32) {
LM_DBG("failure during IP mask check for v4\n");
goto dberror;
}