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:
-rw-r--r--commit.c2
-rw-r--r--diff.c2
2 files changed, 2 insertions, 2 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;
diff --git a/diff.c b/diff.c
index 9015c81d76..527cbf04ad 100644
--- a/diff.c
+++ b/diff.c
@@ -704,7 +704,7 @@ static int parse_num(const char **cp_p)
scale *= 10;
num = num * 10 + ch - '0';
}
- *cp++;
+ cp++;
}
*cp_p = cp;