From 028e877105201b04de5b0bb848fec01280345094 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 16 Jan 2022 21:24:58 +0100 Subject: [PATCH] [malloc] cast --- src/intl/libintl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intl/libintl.c b/src/intl/libintl.c index 26e66bc45..0aea765cf 100644 --- a/src/intl/libintl.c +++ b/src/intl/libintl.c @@ -207,7 +207,7 @@ set_language(int language) if (!LANGUAGE) { /* We never free() this, purely intentionally. */ - LANGUAGE = malloc(256); + LANGUAGE = (char *)malloc(256); } if (LANGUAGE) { strcpy(LANGUAGE, language_to_iso639(language));