Skip to content

Commit

Permalink
fix field width/precision warnings in blame.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luck, Tony authored and Junio C Hamano committed Mar 21, 2006
1 parent ac74905 commit 2928390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blame.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2928390

Please sign in to comment.