From 6f479b76851b17527c9c8b12acf8553e95a590cf Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 27 Jun 2020 03:33:30 +0000 Subject: 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] --- Src/Zle/zle_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') 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); } } -- cgit 1.4.1