Skip to content

Commit

Permalink
[PATCH] git: fix trivial warning from show_rename_copy()
Browse files Browse the repository at this point in the history
apply.c: In function `show_rename_copy':
apply.c:1147: warning: field precision is not type int (arg 3)

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Tony Luck authored and Linus Torvalds committed Jul 12, 2005
1 parent 6aa33f4 commit e30e814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ static void show_rename_copy(struct patch *p)
*/
if (old != p->old_name)
printf(" %s %.*s{%s => %s} (%d%%)\n", renamecopy,
old - p->old_name, p->old_name,
(int)(old - p->old_name), p->old_name,
old, new, p->score);
else
printf(" %s %s => %s (%d%%)\n", renamecopy,
Expand Down

0 comments on commit e30e814

Please sign in to comment.