summaryrefslogtreecommitdiff
path: root/lib-src/make-docfile.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-10-09 21:29:30 -0400
committerGlenn Morris <rgm@gnu.org>2013-10-09 21:29:30 -0400
commit4b5a548d595a41b9cf226e9c5510c1fc0b5e2f6e (patch)
treef4c1a604a166fe425a2773a4ea29cec5c6c76f02 /lib-src/make-docfile.c
parentc6e8ae77b327df99219031e56c7938981f63b4c9 (diff)
* lib-src/make-docfile.c (search_lisp_doc_at_eol): Use int rather than char
with getc. Fixes: debbugs:15481
Diffstat (limited to 'lib-src/make-docfile.c')
-rw-r--r--lib-src/make-docfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 73d1a0eb31..36eb71c587 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -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)