merge-base: use the new lookup_commit_reference() helper function
[gitweb.git] / read-cache.c
index 01e84b758b8f742ee852e08fcc20a14e3509821c..14ed4fdf65047d2e553ff914a0c07ea112f96bcd 100644 (file)
@@ -344,7 +344,7 @@ int read_cache(void)
 }
 
 #define WRITE_BUFFER_SIZE 8192
-static char write_buffer[WRITE_BUFFER_SIZE];
+static unsigned char write_buffer[WRITE_BUFFER_SIZE];
 static unsigned long write_buffer_len;
 
 static int ce_write(SHA_CTX *context, int fd, void *data, unsigned int len)