1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[malloc] cast

This commit is contained in:
Witold Filipczyk 2022-01-16 21:24:58 +01:00
parent b914dddeee
commit 028e877105

View File

@ -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));