diff options
Diffstat (limited to 'urigetline.c')
-rw-r--r-- | urigetline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/urigetline.c b/urigetline.c index 2d6cd28..92fa124 100644 --- a/urigetline.c +++ b/urigetline.c @@ -11,7 +11,7 @@ #define MATCH_REVERSE -1 // return 1 if the match and rule should have the main function print this URL. -int match(char rule,char *part,char *arg) { +int match(signed char rule,char *part,char *arg) { switch(rule) { case MATCH_UNEXIST: if(part == 0) return 1; @@ -37,7 +37,7 @@ int main(int argc,char *argv[]) {//argument needs to be the URI int ret=1; struct uri u; char matches; - char rule=MATCH_PATTERN; + signed char rule=MATCH_PATTERN; char *line=malloc(LINE_LENGTH); char *a,*b,*c; char *command; |