mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[dom] cast to char *
This commit is contained in:
parent
2fa67c5730
commit
4849e7e16b
@ -20,10 +20,10 @@ struct dom_string {
|
||||
};
|
||||
|
||||
#define INIT_DOM_STRING(strvalue, strlength) \
|
||||
{ (strlength), (strvalue) }
|
||||
{ (strlength), (char *)(strvalue) }
|
||||
|
||||
#define STATIC_DOM_STRING(strvalue) \
|
||||
{ sizeof(strvalue) - 1, (strvalue) }
|
||||
{ sizeof(strvalue) - 1, (char *)(strvalue) }
|
||||
|
||||
static inline void
|
||||
set_dom_string(struct dom_string *string, char *value, size_t length)
|
||||
|
Loading…
Reference in New Issue
Block a user