diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2005-11-15 08:44:17 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2005-11-15 08:44:17 +0000 |
commit | e79af955f0620a699b01f11b584788404ba81767 (patch) | |
tree | 3cea0f78df60c7622321e1835ff8b67b347e796f /Src/Zle/zle_thingy.c | |
parent | 915e6ff66ad4e64c66eb9be3ced6bc6fdd26c0cf (diff) | |
download | zsh-e79af955f0620a699b01f11b584788404ba81767.tar.gz zsh-e79af955f0620a699b01f11b584788404ba81767.tar.xz zsh-e79af955f0620a699b01f11b584788404ba81767.zip |
Got rid of some unsigned-char/char pointer casts.
Diffstat (limited to 'Src/Zle/zle_thingy.c')
-rw-r--r-- | Src/Zle/zle_thingy.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Src/Zle/zle_thingy.c b/Src/Zle/zle_thingy.c index 5e0c30633..c947bdd9d 100644 --- a/Src/Zle/zle_thingy.c +++ b/Src/Zle/zle_thingy.c @@ -415,10 +415,8 @@ bin_zle_refresh(UNUSED(char *name), char **args, Options ops, UNUSED(char func)) statusline = NULL; statusll = 0; if (*args) { - if (**args) { - statusline = stringaszleline((unsigned char *)*args, 0, &statusll, - NULL, NULL); - } + if (**args) + statusline = stringaszleline(*args, 0, &statusll, NULL, NULL); if (*++args) { LinkList l = newlinklist(); int zmultsav = zmult; |