summaryrefslogtreecommitdiffstats
path: root/route.c
diff options
context:
space:
mode:
authorKarsten Keil2008-09-01 22:23:01 +0200
committerKarsten Keil2008-09-01 22:23:01 +0200
commitb3974893ba872567c5a523417562d1dcb96d93ce (patch)
tree3a06fe26f7a80bf1de999f2af2e496990117e347 /route.c
parentAdded -fPIC to fix chan_lcr shared object. (diff)
downloadlcr-b3974893ba872567c5a523417562d1dcb96d93ce.tar.gz
lcr-b3974893ba872567c5a523417562d1dcb96d93ce.tar.xz
lcr-b3974893ba872567c5a523417562d1dcb96d93ce.zip
Fix 64bit build
Diffstat (limited to 'route.c')
-rw-r--r--route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/route.c b/route.c
index 743e37d..bb2ed1f 100644
--- a/route.c
+++ b/route.c
@@ -2137,9 +2137,9 @@ struct route_action *EndpointAppPBX::route(struct route_ruleset *ruleset)
case MATCH_FREE:
case MATCH_NOTFREE:
- if (!(comp_len = (unsigned int)strchr(cond->string_value, ':')))
+ if (!(comp_len = (unsigned long)strchr(cond->string_value, ':')))
break;
- comp_len = comp_len-(unsigned int)cond->string_value;
+ comp_len = comp_len-(unsigned long)cond->string_value;
avail = 0;
mISDNport = mISDNport_first;
while(mISDNport)