diff options
author | Colin Timmermans <colintimmermans@gmail.com> | 2010-11-06 00:14:18 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-11-07 01:31:37 +0200 |
commit | 69f0295c8031c6bb4ecc56a605070969513616d1 (patch) | |
tree | c9113ce50ecd78bf6f30bc8776063ec7eae6fec7 /src/commit.c | |
parent | 1081d909456b8149c8b7fd5eb16d39c6a55c4078 (diff) | |
download | libgit2-69f0295c8031c6bb4ecc56a605070969513616d1.tar.gz |
Fix compiler warning in commit.c
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c index 08243f5c4..6fcbfd734 100644 --- a/src/commit.c +++ b/src/commit.c @@ -173,7 +173,7 @@ int commit_parse_buffer(git_commit *commit, void *data, size_t len, unsigned int buffer++; if (parse_flags & COMMIT_FULL_PARSE && buffer < buffer_end) { - char *line_end; + const char *line_end; size_t message_len = buffer_end - buffer; /* Long message */ |