1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00

* lib-src/make-docfile.c (search_lisp_doc_at_eol): Use int rather than char

with getc.

Fixes: debbugs:15481
This commit is contained in:
Glenn Morris 2013-10-09 21:29:30 -04:00
parent c6e8ae77b3
commit 4b5a548d59
2 changed files with 6 additions and 1 deletions

View file

@ -1075,7 +1075,7 @@ read_lisp_symbol (FILE *infile, char *buffer)
static int
search_lisp_doc_at_eol (FILE *infile)
{
char c = 0, c1 = 0, c2 = 0;
int c = 0, c1 = 0, c2 = 0;
/* Skip until the end of line; remember two previous chars. */
while (c != '\n' && c != '\r' && c != EOF)