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
(from parent 1:
049f8cb
)
Fix a warning about a %d not getting an int (on some platforms).
author
Wayne Davison
<wayned@samba.org>
Mon, 10 Aug 2009 16:24:53 +0000
(09:24 -0700)
committer
Wayne Davison
<wayned@samba.org>
Mon, 10 Aug 2009 16:24:53 +0000
(09:24 -0700)
exclude.c
patch
|
blob
|
blame
|
history
diff --git
a/exclude.c
b/exclude.c
index
0aa3769
..
a8e830f
100644
(file)
--- a/
exclude.c
+++ b/
exclude.c
@@
-913,7
+913,7
@@
static filter_rule *parse_rule_tok(const char **rulestr_ptr,
invalid:
rprintf(FERROR,
"invalid modifier '%c' at position %d in filter rule: %s\n",
- *s,
s - (const uchar *)*rulestr_ptr
, *rulestr_ptr);
+ *s,
(int)(s - (const uchar *)*rulestr_ptr)
, *rulestr_ptr);
exit_cleanup(RERR_SYNTAX);
case '-':
if (!BITS_SETnUNSET(rule->rflags, FILTRULE_MERGE_FILE, FILTRULE_NO_PREFIXES))