mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-27 03:39:56 +00:00
yxml: add casting
This commit is contained in:
parent
8b73b7c557
commit
a788b16c9d
2
3rd-party/yxml/yxml.c
vendored
2
3rd-party/yxml/yxml.c
vendored
@ -329,7 +329,7 @@ static inline yxml_ret_t yxml_refattrval(yxml_t *x, unsigned ch) { (void) ch; re
|
||||
void yxml_init(yxml_t *x, void *stack, size_t stacksize) {
|
||||
memset(x, 0, sizeof(*x));
|
||||
x->line = 1;
|
||||
x->stack = stack;
|
||||
x->stack = (unsigned char *) stack;
|
||||
x->stacksize = stacksize;
|
||||
*x->stack = 0;
|
||||
x->elem = x->pi = x->attr = (char *)x->stack;
|
||||
|
Loading…
x
Reference in New Issue
Block a user