Commit Diff


commit - a3500804a1dff06d6f16bf00324060331968428b
commit + 8622058b8ed56cb0486543a0373894661acb0e68
blob - 9c70b677f3a1b9e8dafc55e075a180cdf42e887d
blob + 97d9c8fd80a32f6e156781cc00f7af14c04c2f7d
--- lib/delta.c
+++ lib/delta.c
@@ -30,7 +30,7 @@
 
 struct got_delta_base *
 got_delta_base_open(const char *path_packfile, int type, off_t offset,
-    size_t size)
+    size_t delta_size)
 {
 	struct got_delta_base *base;
 
@@ -45,7 +45,7 @@ got_delta_base_open(const char *path_packfile, int typ
 	}
 	base->type = type;
 	base->offset = offset;
-	base->size = size;
+	base->delta_size = delta_size;
 	return base;
 }
 
blob - 62886c7c82e09b5d1c86b0ca6f0a878d32fdd799
blob + b34485fe16efb1e3d40c7443f306a1d4dc97273d
--- lib/delta.h
+++ lib/delta.h
@@ -19,7 +19,7 @@ struct got_delta_base {
 	char *path_packfile;
 	off_t offset;
 	int type;
-	size_t size;
+	size_t delta_size;
 };
 
 struct got_delta_chain {