summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c2
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 */