diff options
-rw-r--r-- | Src/Zle/zle_tricky.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index c32dd675c..ce5855b5c 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -913,7 +913,7 @@ addx(char **ptmp) mod_export char * dupstrspace(const char *str) { - int len = strlen((char *)str); + int len = strlen(str); char *t = (char *) hcalloc(len + 2); strcpy(t, str); strcpy(t+len, " "); @@ -1790,7 +1790,7 @@ inststrlen(char *str, int move, int len) ZLE_STRING_T zlestr; int zlelen; - instr = ztrduppfx((char *)str, len); + instr = ztrduppfx(str, len); zlestr = stringaszleline(instr, 0, &zlelen, NULL, NULL); ZS_strncpy(zleline + zlecs, zlestr, zlelen); free(zlestr); |