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

[gettext] cast

This commit is contained in:
Witold Filipczyk 2022-01-25 18:09:08 +01:00
parent c399ac257c
commit 37bdb9467b
2 changed files with 3 additions and 3 deletions

View File

@ -416,7 +416,7 @@ dcigettext__(const char *domainname, const char *msgid1, const char *msgid2,
+ domainname_len + 5);
ADD_BLOCK(block_list, xdomainname);
stpcpy(mempcpy(stpcpy(stpcpy(xdomainname, categoryname), "/"),
stpcpy((char *)mempcpy(stpcpy(stpcpy(xdomainname, categoryname), "/"),
domainname, domainname_len), ".mo");
/* Creating working area. */

View File

@ -236,12 +236,12 @@ read_alias_file(const char *fname, int fname_len)
}
map[nmap].alias =
memcpy(&string_space[string_space_act],
(const char *)memcpy(&string_space[string_space_act],
alias, alias_len);
string_space_act += alias_len;
map[nmap].value =
memcpy(&string_space[string_space_act],
(const char *)memcpy(&string_space[string_space_act],
value, value_len);
string_space_act += value_len;