diff options
Diffstat (limited to 'commit-tree.c')
-rw-r--r-- | commit-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commit-tree.c b/commit-tree.c index ef1f068510..ac431febe9 100644 --- a/commit-tree.c +++ b/commit-tree.c @@ -41,7 +41,7 @@ static void add_buffer(char **bufp, unsigned int *sizep, const char *fmt, ...) alloc = (size + 32767) & ~32767; buf = *bufp; if (newsize > alloc) { - alloc = (newsize + 32767) & ~32767; + alloc = (newsize + 32767) & ~32767; buf = realloc(buf, alloc); *bufp = buf; } |