Thread (21 messages) flat view 21 messages, 3 authors, 2016-06-15

Re: [PATCH 03/11] Use new compress helpers in fast-import

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:44:10

Marco Costalba [off-list ref] wrote:
quoted hunk ↗ jump to hunk
diff --git a/fast-import.c b/fast-import.c
index a523b17..b6bb84c 100644
--- a/fast-import.c
+++ b/fast-import.c
@@ -997,13 +998,13 @@ static int store_object(
 	unsigned char *sha1out,
 	uintmax_t mark)
 {
-	void *out, *delta;
+	unsigned char *out, *delta;
 	struct object_entry *e;
 	unsigned char hdr[96];
 	unsigned char sha1[20];
 	unsigned long hdrlen, deltalen;
 	SHA_CTX c;
-	z_stream s;
+	int out_size;
This really should be a size_t, shouldn't it?
  
-- 
Shawn.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help