Commit Diff


commit - f2e1007bc5564a15098b5ccd4172d0e528655b16
commit + e260f8ae2c54344af5cd0213dc0aafe6e2ff8721
blob - c55af97b36ddc6a225937a9d176a6954f0ac66aa
blob + 718736881402bf79f5c0307528c91464deea3105
--- libexec/got-read-patch/got-read-patch.c
+++ libexec/got-read-patch/got-read-patch.c
@@ -311,7 +311,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 != '\\') {