diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-06-27 03:33:30 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-06-27 03:35:30 +0000 |
commit | 6f479b76851b17527c9c8b12acf8553e95a590cf (patch) | |
tree | e3fc5e21cb8bc15e2296e0ad115940e8da13e9d3 /Src/Zle/zle_utils.c | |
parent | 0cffb0a6b3602a00cebe2bbb7537d76727892959 (diff) | |
download | zsh-6f479b76851b17527c9c8b12acf8553e95a590cf.tar.gz zsh-6f479b76851b17527c9c8b12acf8553e95a590cf.tar.xz zsh-6f479b76851b17527c9c8b12acf8553e95a590cf.zip |
unposted (after 46068): Fix a compiler warning.
The warning was: . warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
Diffstat (limited to 'Src/Zle/zle_utils.c')
-rw-r--r-- | Src/Zle/zle_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c index 927b88bba..c85f8450d 100644 --- a/Src/Zle/zle_utils.c +++ b/Src/Zle/zle_utils.c @@ -569,7 +569,7 @@ free_region_highlights_memos(void) for (rhp = region_highlights; rhp < region_highlights + n_region_highlights; rhp++) { - zfree(rhp->memo, 0); + zfree((char*) rhp->memo, 0); } } |