diff --git a/builtin/apply.c b/builtin/apply.c
index 530d4bb7e76da8e402f78ab7f981a080d25d6e78..d600ac63abb44be0580addd855f636a05701b9a2 100644 (file)
--- a/builtin/apply.c
+++ b/builtin/apply.c
const char *last2 = s2 + n2 - 1;
int result = 0;
- if (n1 < 0 || n2 < 0)
- return 0;
-
/* ignore line endings */
while ((*last1 == '\r') || (*last1 == '\n'))
last1--;
static char *inflate_it(const void *data, unsigned long size,
unsigned long inflated_size)
{
- z_stream stream;
+ git_zstream stream;
void *out;
int st;