Browse Source

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>
maint
Luck, Tony 19 years ago committed by Junio C Hamano
parent
commit
2928390774
  1. 2
      blame.c

2
blame.c

@ -748,7 +748,7 @@ int main(int argc, const char **argv) @@ -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();

Loading…
Cancel
Save