projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac74905
)
fix field width/precision warnings in blame.c
author
Luck, Tony
<tony.luck@intel.com>
Tue, 21 Mar 2006 23:28:06 +0000
(15:28 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 21 Mar 2006 23:39:44 +0000
(15:39 -0800)
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>
blame.c
patch
|
blob
|
history
diff --git
a/blame.c
b/blame.c
index
9c97aec
..
7e88833
100644
(file)
--- 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;
+
in
t longest_file, longest_author;
int found_rename;
const char* prefix = setup_git_directory();