mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[malloc] cast
This commit is contained in:
parent
b914dddeee
commit
028e877105
@ -207,7 +207,7 @@ set_language(int language)
|
|||||||
|
|
||||||
if (!LANGUAGE) {
|
if (!LANGUAGE) {
|
||||||
/* We never free() this, purely intentionally. */
|
/* We never free() this, purely intentionally. */
|
||||||
LANGUAGE = malloc(256);
|
LANGUAGE = (char *)malloc(256);
|
||||||
}
|
}
|
||||||
if (LANGUAGE) {
|
if (LANGUAGE) {
|
||||||
strcpy(LANGUAGE, language_to_iso639(language));
|
strcpy(LANGUAGE, language_to_iso639(language));
|
||||||
|
Loading…
Reference in New Issue
Block a user