Commit Diff


commit - f8b2e31e52e55c61466d35304412e919227e6ae9
commit + e450035c854c7301e281718ffd136dfe4647e681
blob - 70383527274d9e8c501d2480b0479657ced378b7
blob + e44ac0a4e3f7fe9caf5b350a89c7e5c5beba00be
--- lib/diff_output.c
+++ lib/diff_output.c
@@ -262,7 +262,7 @@ diff_output_match_function_prototype(char *prototype, 
 	struct diff_atom *start_atom, *atom;
 	const struct diff_data *data;
 	unsigned char buf[DIFF_FUNCTION_CONTEXT_SIZE];
-	char *state = NULL;
+	const char *state = NULL;
 	int rc, i, ch;
 
 	if (result->left->atoms.len > 0 && cc->left.start > 0) {