summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y
index 7ecdbab85..369634e0c 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -3075,7 +3075,7 @@ nextc(parser_state *p)
return -1;
}
else {
- c = *p->s++;
+ c = (unsigned char)*p->s++;
}
if (c == '\n') {
// must understand heredoc