diff options
-rw-r--r-- | src/location.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location.c b/src/location.c index 662b2a12..c873dccd 100644 --- a/src/location.c +++ b/src/location.c @@ -188,7 +188,7 @@ location_caret (location loc, FILE *out) /* 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. */ |