From: Luck, Tony Date: Tue, 21 Mar 2006 23:28:06 +0000 (-0800) Subject: fix field width/precision warnings in blame.c X-Git-Tag: v1.3.0-rc1~11^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=292839077488d7ccb46bc2cc25b515a1ebd25f8f;p=git.git 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 --- diff --git a/blame.c b/blame.c index 9c97aeca4..7e88833a3 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();