Commit Diff


commit - c16dde50bb5e92533dcbbc513875d726f0f9dd48
commit + 9403a358855aa5ba3ec2f3f20943215e1d758496
blob - 730fe4c41f119d893552ec8b09bc0bac067ac6cf
blob + c7749377c1c41c1fee60256db169cee8ece8fd9e
--- lib/diff_output_unidiff.c
+++ lib/diff_output_unidiff.c
@@ -430,8 +430,8 @@ diff_output_unidiff(struct diff_output_info **output_i
 			   (t == CHUNK_SAME ? "same" : "?"))),
 		      c->left_count,
 		      c->right_count,
-		      c->left_start ? diff_atom_root_idx(&result->left, c->left_start) : -1,
-		      c->right_start ? diff_atom_root_idx(&result->right, c->right_start) : -1);
+		      c->left_start ? diff_atom_root_idx(result->left, c->left_start) : -1,
+		      c->right_start ? diff_atom_root_idx(result->right, c->right_start) : -1);
 	}
 #endif