Commit d93b7a36 authored by Konstantin Pavlov's avatar Konstantin Pavlov
Browse files

Fix warning

parent 3c0a294d
......@@ -95,7 +95,7 @@ static int filter(const char *in, const char *filter, char **out) {
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(in[flen]=='"') flen++;
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