Skip to content
Permalink
Browse files

yxml: add casting

  • Loading branch information...
milamikica committed Mar 20, 2019
1 parent 8b73b7c commit a788b16c9db13afe868b3d4716de6e2eab37c7fd
Showing with 1 addition and 1 deletion.
  1. +1 −1 3rd-party/yxml/yxml.c
@@ -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;

0 comments on commit a788b16

Please sign in to comment.
You can’t perform that action at this time.