Skip to content

Commit

Permalink
Fix a warning about a %d not getting an int (on some platforms).
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayne Davison committed Aug 10, 2009
1 parent 049f8cb commit 845ed84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exclude.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 845ed84

Please sign in to comment.