mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 21:04:15 -04:00
Fix a warning about a %d not getting an int (on some platforms).
This commit is contained in:
1 parent
049f8cbc8a
commit
845ed84d70
1 file changed
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user