Commit Diff


commit - cc047ef02558c10aa53390a18d8ae138ed17587f
commit + 1f9543827e04da5799b5f1a1b320b10eb1860182
blob - 78e6d33f5861a66ec7f99cd55afc0429cbb446ae
blob + 12c9bd49a5357533fda3b3fe26668b7b656c4419
--- libexec/got-read-patch/got-read-patch.c
+++ libexec/got-read-patch/got-read-patch.c
@@ -310,7 +310,7 @@ static const struct got_error *
 peek_special_line(FILE *fp, int send)
 {
 	const struct got_error *err;
-	char ch;
+	int ch;
 
 	ch = fgetc(fp);
 	if (ch != EOF && ch != '\\') {