Commit 69f0295c by Colin Timmermans Committed by Vicent Marti

Fix compiler warning in commit.c

parent 1081d909
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment