Commit e8b21fe4 authored by Wayne Davison's avatar Wayne Davison

Cast pat_len to an int when using it as a field width.

parent 71cb9df3
......@@ -911,7 +911,7 @@ void parse_rule(struct filter_list_struct *listp, const char *pattern,
if (pat_len >= MAXPATHLEN) {
rprintf(FERROR, "discarding over-long filter: %.*s\n",
pat_len, cp);
(int)pat_len, cp);
continue;
}
......
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