summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Luck, Tony <tony.luck@intel.com>2006-03-21 15:28:06 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-03-21 15:39:44 -0800
commit292839077488d7ccb46bc2cc25b515a1ebd25f8f (patch)
treec37aac69596b56ff59c5e94f0c2149277d760dd4
parentcontrib/git-svn: allow rebuild to work on non-linear remote heads (diff)
downloadtgif-292839077488d7ccb46bc2cc25b515a1ebd25f8f.tar.xz
fix field width/precision warnings in blame.c
Using "size_t" values for printf field width/precision upsets gcc, it wants to see an "int". Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--blame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blame.c b/blame.c
index 9c97aeca45..7e88833a37 100644
--- a/blame.c
+++ b/blame.c
@@ -748,7 +748,7 @@ int main(int argc, const char **argv)
struct commit_info ci;
const char *buf;
int max_digits;
- size_t longest_file, longest_author;
+ int longest_file, longest_author;
int found_rename;
const char* prefix = setup_git_directory();