Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71cb9df
)
Cast pat_len to an int when using it as a field width.
author
Wayne Davison
<wayned@samba.org>
Fri, 13 Oct 2006 06:24:24 +0000
(06:24 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 13 Oct 2006 06:24:24 +0000
(06:24 +0000)
exclude.c
patch
|
blob
|
blame
|
history
diff --git
a/exclude.c
b/exclude.c
index
1541df7
..
397acf2
100644
(file)
--- 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;
}