mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -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) \
|
#define INIT_DOM_STRING(strvalue, strlength) \
|
||||||
{ (strlength), (strvalue) }
|
{ (strlength), (char *)(strvalue) }
|
||||||
|
|
||||||
#define STATIC_DOM_STRING(strvalue) \
|
#define STATIC_DOM_STRING(strvalue) \
|
||||||
{ sizeof(strvalue) - 1, (strvalue) }
|
{ sizeof(strvalue) - 1, (char *)(strvalue) }
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
set_dom_string(struct dom_string *string, char *value, size_t length)
|
set_dom_string(struct dom_string *string, char *value, size_t length)
|
||||||
|
Loading…
Reference in New Issue
Block a user