Commit d93b7a36 authored by Pavlov Konstantin's avatar Pavlov Konstantin

Fix warning

parent 3c0a294d
...@@ -95,7 +95,7 @@ static int filter(const char *in, const char *filter, char **out) { ...@@ -95,7 +95,7 @@ static int filter(const char *in, const char *filter, char **out) {
if (!in) return 0; if (!in) return 0;
len = (strchr(in,'\n')) ? strchr(in,'\n')-in : strlen(in); len = (strchr(in,'\n')) ? (size_t)(strchr(in,'\n')-in) : strlen(in);
if (!strncmp(in,filter,flen)) { if (!strncmp(in,filter,flen)) {
if(in[flen]=='"') flen++; if(in[flen]=='"') flen++;
if(in[len-1]==13) len--; if(in[len-1]==13) len--;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment