summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6aa33f4)
raw | patch | inline | side by side (parent: 6aa33f4)
author | Tony Luck <tony.luck@intel.com> | |
Tue, 12 Jul 2005 18:54:21 +0000 (11:54 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Tue, 12 Jul 2005 20:04:31 +0000 (13:04 -0700) |
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>
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>
apply.c | patch | blob | history |
index c87cbf9eb3c9c3cc3c836c9b60e0171d89eb75d2..97b2eff1065ac69fc9cfadbc7cf243966a985186 100644 (file)
--- a/apply.c
+++ b/apply.c
*/
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,