Commit 22c0f09da0674b6b6122c7de371a1e35ade2e351

Stefan Sperling 2020-11-22T11:20:52

repair gotweb build after diff api changes

diff --git a/gotweb/gotweb.c b/gotweb/gotweb.c
index 34bd7e8..fe98a92 100644
--- a/gotweb/gotweb.c
+++ b/gotweb/gotweb.c
@@ -2870,15 +2870,15 @@ gw_output_diff(struct gw_trans *gw_trans, struct gw_header *header)
 	switch (obj_type) {
 	case GOT_OBJ_TYPE_BLOB:
 		error = got_diff_objects_as_blobs(NULL, NULL, id1, id2,
-		    NULL, NULL, 3, 0, gw_trans->repo, f);
+		    NULL, NULL, 3, 0, 0, gw_trans->repo, f);
 		break;
 	case GOT_OBJ_TYPE_TREE:
 		error = got_diff_objects_as_trees(NULL, NULL, id1, id2,
-		   "", "", 3, 0, gw_trans->repo, f);
+		   "", "", 3, 0, 0, gw_trans->repo, f);
 		break;
 	case GOT_OBJ_TYPE_COMMIT:
-		error = got_diff_objects_as_commits(NULL, NULL, id1, id2, 3, 0,
-		    gw_trans->repo, f);
+		error = got_diff_objects_as_commits(NULL, NULL, id1, id2,
+		    3, 0, 0, gw_trans->repo, f);
 		break;
 	default:
 		error = got_error(GOT_ERR_OBJ_TYPE);