summaryrefslogtreecommitdiff
path: root/exclude.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-10-13 06:24:24 +0000
committerWayne Davison <wayned@samba.org>2006-10-13 06:24:24 +0000
commite8b21fe406abd5578e4f3b8474a59b57fa4312fa (patch)
tree90da254703d9cd9beccd055d50a6eb959c3bb0c1 /exclude.c
parent71cb9df386acebe1811ff1ef79249a6b6aaea78e (diff)
downloadrsync-e8b21fe406abd5578e4f3b8474a59b57fa4312fa.tar.gz
Cast pat_len to an int when using it as a field width.
Diffstat (limited to 'exclude.c')
-rw-r--r--exclude.c2
1 files changed, 1 insertions, 1 deletions
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;
}