Commit Diff


commit - 9516e7cb563b98e29f9d23f65189f9e5b583c04c
commit + 8138f3e172dbeb6d845fda505dde9b15b85ec310
blob - 9b0995261ea8798950777d1f28e8879d221005b9
blob + 1e1e30d5190bdcab3678491b620670f59abf1135
--- got/got.c
+++ got/got.c
@@ -4366,7 +4366,7 @@ histedit_write_commit(struct got_object_id *commit_id,
 	const struct got_error *err = NULL;
 	char *logmsg = NULL, *id_str = NULL;
 	struct got_commit_object *commit = NULL;
-	size_t n;
+	int n;
 
 	err = got_object_open_as_commit(&commit, repo, commit_id);
 	if (err)