From 69f0295c8031c6bb4ecc56a605070969513616d1 Mon Sep 17 00:00:00 2001 From: Colin Timmermans Date: Sat, 6 Nov 2010 00:14:18 +0200 Subject: [PATCH] Fix compiler warning in commit.c --- src/commit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */