diff options
author | Carlos Martín Nieto <cmn@elego.de> | 2011-04-06 15:49:29 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@elego.de> | 2011-04-06 15:49:29 +0200 |
commit | 8bd6c0ab8354fff51f0afaa15a56a9f864da7ab5 (patch) | |
tree | a0f0adfe3fa2ec102f176e8cd63ac38bedab53cf /src/commit.c | |
parent | acab3bc474760216ccafcad9d6cdaf381cdafc72 (diff) | |
parent | 0ad6efa110853763894b60e4c454985a726968da (diff) | |
download | libgit2-8bd6c0ab8354fff51f0afaa15a56a9f864da7ab5.tar.gz |
Merge remote-tracking branch 'upstream/development' into config
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commit.c b/src/commit.c index 03b111da5..9fc3f0767 100644 --- a/src/commit.c +++ b/src/commit.c @@ -235,9 +235,9 @@ int git_commit_create( return error; } -int commit_parse_buffer(git_commit *commit, void *data, size_t len) +int commit_parse_buffer(git_commit *commit, const void *data, size_t len) { - char *buffer = (char *)data; + const char *buffer = (char *)data; const char *buffer_end = (char *)data + len; git_oid parent_oid; |