diff options
author | Tony Luck <tony.luck@intel.com> | 2005-07-12 11:54:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 13:04:31 -0700 |
commit | e30e814dbfef7a6e89418863e5d7291a2d53b18f (patch) | |
tree | c7b1d35d3f408151a79faec4f2dff01bd9129541 | |
parent | 6aa33f4035d547ac2bd629b1cfd9c46262809d73 (diff) | |
download | git-e30e814dbfef7a6e89418863e5d7291a2d53b18f.tar.gz git-e30e814dbfef7a6e89418863e5d7291a2d53b18f.tar.xz |
[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>
-rw-r--r-- | apply.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |