diff options
author | Oliver Kiddle <opk@zsh.org> | 2022-12-16 23:22:33 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2022-12-16 23:28:10 +0100 |
commit | a73c705b0c864a9ce042fca6e72e0c92d4ad8237 (patch) | |
tree | 6ea60926217bfc66140a8f60bbc8c37f36396ea2 /Src/Modules/stat.c | |
parent | 7fb6c133bfdf445b4478897adc142ed7d07b5fd6 (diff) | |
download | zsh-a73c705b0c864a9ce042fca6e72e0c92d4ad8237.tar.gz zsh-a73c705b0c864a9ce042fca6e72e0c92d4ad8237.zip |
51212: remove STOUC() macro
This served as a workaround for ancient compilers where casts to
unsigned char were broken.
Diffstat (limited to 'Src/Modules/stat.c')
-rw-r--r-- | Src/Modules/stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/stat.c b/Src/Modules/stat.c index 0df9b35b7..c9f851974 100644 --- a/Src/Modules/stat.c +++ b/Src/Modules/stat.c @@ -406,7 +406,7 @@ bin_stat(char *name, char **args, Options ops, UNUSED(int func)) } else { for (; *arg; arg++) { if (strchr("glLnNorstT", *arg)) - ops->ind[STOUC(*arg)] = 1; + ops->ind[(unsigned char) *arg] = 1; else if (*arg == 'A') { if (arg[1]) { arrnam = arg+1; |