Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
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
raw
|
patch
| inline |
side by side
(parent:
ac74905
)
diff --git
a/blame.c
b/blame.c
index 9c97aeca451f641ff319fc4bee70a97488e619cd..7e88833a37f9a2b7380b96510a331cf376c99264 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();