[PATCH] git: fix trivial warning from show_rename_copy()
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>
This commit is contained in:
parent
6aa33f4035
commit
e30e814dbf
2
apply.c
2
apply.c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user