aboutsummaryrefslogtreecommitdiff
path: root/builtins/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtins/shell.c')
-rw-r--r--builtins/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/shell.c b/builtins/shell.c
index da6cbe5b..91cf792f 100644
--- a/builtins/shell.c
+++ b/builtins/shell.c
@@ -25,7 +25,7 @@ public Pattern_t Shell$escape_text(Text_t text)
add_char('"');
add_char('\'');
} else
- add_char(*p);
+ add_char((uint8_t)*p);
}
add_char('\'');
#undef add_char