From 292839077488d7ccb46bc2cc25b515a1ebd25f8f Mon Sep 17 00:00:00 2001 From: "Luck, Tony" Date: Tue, 21 Mar 2006 15:28:06 -0800 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- blame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blame.c b/blame.c index 9c97aeca..7e88833a 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(); -- 2.11.0