summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuck, Tony <tony.luck@intel.com>2006-03-21 23:28:06 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-03-21 23:39:44 (GMT)
commit292839077488d7ccb46bc2cc25b515a1ebd25f8f (patch)
treec37aac69596b56ff59c5e94f0c2149277d760dd4
parentac7490506418e3ec495775e432b7040a17449fa9 (diff)
downloadgit-292839077488d7ccb46bc2cc25b515a1ebd25f8f.zip
git-292839077488d7ccb46bc2cc25b515a1ebd25f8f.tar.gz
git-292839077488d7ccb46bc2cc25b515a1ebd25f8f.tar.bz2
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>
-rw-r--r--blame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blame.c b/blame.c
index 9c97aec..7e88833 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();