Fix compiler warning in commit.c

This commit is contained in:
Colin Timmermans 2010-11-06 00:14:18 +02:00 committed by Vicent Marti
parent 1081d90945
commit 69f0295c80

View File

@ -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 */