Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-30 08:17:21 +0400
committerJunio C Hamano <junkio@cox.net>2005-08-30 08:17:21 +0400
commit5de36bfec9beb65f8d0328b367dcf0e7d74d30bb (patch)
tree746e533303dd2245042defb0484458fdb879c846 /commit.c
parentcf6de18aabf774dfce7efd9c59babfe9d909d433 (diff)
Fix compilation warnings.
... found by compiling them with gcc 2.95. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.c b/commit.c
index e51eda1524..2f73cf3d90 100644
--- a/commit.c
+++ b/commit.c
@@ -357,7 +357,7 @@ static int get_one_line(const char *msg, unsigned long len)
static int add_user_info(const char *what, enum cmit_fmt fmt, char *buf, const char *line)
{
char *date;
- unsigned int namelen;
+ int namelen;
unsigned long time;
int tz, ret;