mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[gettext] cast
This commit is contained in:
parent
c399ac257c
commit
37bdb9467b
@ -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. */
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user