/*
* parse ruleset
*/
-static char *read_string(char *p, char *key, int key_size, char *special)
+static char *read_string(char *p, char *key, int key_size, const char *special)
{
key[0] = 0;
/*
* return ruleset by name
*/
-struct route_ruleset *getrulesetbyname(char *name)
+struct route_ruleset *getrulesetbyname(const char *name)
{
struct route_ruleset *ruleset = ruleset_first;
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)