From: Ramkumar Ramachandra Date: Tue, 15 Nov 2011 16:59:39 GMT Subject: [PATCH 4/4] sha1_file: don't mix enum with int Message-ID: <1321376379-31750-5-git-send-email-artagnon@gmail.com> In-Reply-To: <1321376379-31750-1-git-send-email-artagnon@gmail.com> Signed-off-by: Ramkumar Ramachandra --- sha1_file.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sha1_file.c b/sha1_file.c index 27f3b9b..869852b 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -2616,7 +2616,7 @@ static int index_mem(unsigned char *sha1, void *buf, size_t size, if ((type == OBJ_BLOB) && path) { struct strbuf nbuf = STRBUF_INIT; if (convert_to_git(path, buf, size, &nbuf, - write_object ? safe_crlf : 0)) { + write_object ? safe_crlf : SAFE_CRLF_FALSE)) { buf = strbuf_detach(&nbuf, &size); re_allocated = 1; } -- 1.7.6.351.gb35ac.dirty