diff options
author | Wayne Davison <wayned@samba.org> | 2006-10-13 06:24:24 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-10-13 06:24:24 +0000 |
commit | e8b21fe406abd5578e4f3b8474a59b57fa4312fa (patch) | |
tree | 90da254703d9cd9beccd055d50a6eb959c3bb0c1 /exclude.c | |
parent | 71cb9df386acebe1811ff1ef79249a6b6aaea78e (diff) | |
download | rsync-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |