diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-08 17:17:15 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-08 17:17:15 -0400 |
| commit | aeed1992e94c5ab6a5104a06a921101fbe8f40ed (patch) | |
| tree | 8ba6dc531acefa0eedd330224f16f750496e8dbe /builtins/shell.c | |
| parent | cf9d5b1619b9e5e886d2754f167046ff77d36abf (diff) | |
Fix nearly every GCC warning and add __attribute__((pure/const)) where
appropriate
Diffstat (limited to 'builtins/shell.c')
| -rw-r--r-- | builtins/shell.c | 2 |
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 |
