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

[dom] add_to_dom_string const

This commit is contained in:
Witold Filipczyk 2022-01-31 15:58:19 +01:00
parent cac27201d4
commit d1cc8300a5

View File

@ -53,7 +53,7 @@ dom_string_ncasecmp(struct dom_string *string1, struct dom_string *string2, size
set_dom_string(string1, (string2)->string, (string2)->length) set_dom_string(string1, (string2)->string, (string2)->length)
static inline struct dom_string * static inline struct dom_string *
add_to_dom_string(struct dom_string *string, char *str, size_t len) add_to_dom_string(struct dom_string *string, const char *str, size_t len)
{ {
char *newstring; char *newstring;