fix a build problrm pointed out by moof on source-changes-discuss

This commit is contained in:
agc 2010-07-26 17:24:32 +00:00
parent ee762b35da
commit 026072e736
1 changed files with 1 additions and 1 deletions

View File

@ -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");