summaryrefslogtreecommitdiff
path: root/blame.c
diff options
context:
space:
mode:
authorLuck, Tony <tony.luck@intel.com>2006-03-21 15:28:06 -0800
committerJunio C Hamano <junkio@cox.net>2006-03-21 15:39:44 -0800
commit292839077488d7ccb46bc2cc25b515a1ebd25f8f (patch)
treec37aac69596b56ff59c5e94f0c2149277d760dd4 /blame.c
parentac7490506418e3ec495775e432b7040a17449fa9 (diff)
downloadgit-292839077488d7ccb46bc2cc25b515a1ebd25f8f.tar.gz
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>
Diffstat (limited to 'blame.c')
-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();