* location.c (location_caret): Use int, not char, for values from
getc.
/* Read the actual line. Don't update the offset, so that we keep a pointer
to the start of the line. */
{
/* Read the actual line. Don't update the offset, so that we keep a pointer
to the start of the line. */
{
- char c = getc (caret_info.source);
+ int c = getc (caret_info.source);
if (c != EOF)
{
/* Quote the file, indent by a single column. */
if (c != EOF)
{
/* Quote the file, indent by a single column. */