diff options
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c index 00e18b832..dc9e5362a 100644 --- a/src/commit.c +++ b/src/commit.c @@ -225,7 +225,7 @@ int commit_parse_buffer(git_commit *commit, const void *data, size_t len) if (git__prefixcmp(buffer, "encoding ") == 0) { const char *encoding_end; - buffer += STRLEN("encoding "); + buffer += strlen("encoding "); encoding_end = buffer; while (encoding_end < buffer_end && *encoding_end != '\n') |