From e8b21fe406abd5578e4f3b8474a59b57fa4312fa Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 13 Oct 2006 06:24:24 +0000 Subject: [PATCH] Cast pat_len to an int when using it as a field width. --- exclude.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.34.1