fix a build problrm pointed out by moof on source-changes-discuss
This commit is contained in:
parent
ee762b35da
commit
026072e736
|
@ -275,7 +275,7 @@ mj_parse(mj_t *atom, const char *s, int *from, int *to, int *tok)
|
|||
case MJ_NULL:
|
||||
case MJ_FALSE:
|
||||
case MJ_TRUE:
|
||||
atom->c = (unsigned)to;
|
||||
atom->c = (unsigned)*to;
|
||||
return gettok(s, from, to, tok);
|
||||
case MJ_OPEN_BRACKET:
|
||||
mj_create(atom, "array");
|
||||
|
|
Loading…
Reference in New Issue