From: Wayne Davison Date: Fri, 13 Oct 2006 06:24:24 +0000 (+0000) Subject: Cast pat_len to an int when using it as a field width. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/e8b21fe406abd5578e4f3b8474a59b57fa4312fa Cast pat_len to an int when using it as a field width. --- diff --git a/exclude.c b/exclude.c index 1541df77..397acf27 100644 --- a/exclude.c +++ b/exclude.c @@ -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; }