Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-y committed Aug 22, 2024
1 parent e9efaa4 commit 397ced0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua_cjson.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ static int json_cfg_encode_number_precision(lua_State *l)
{
json_config_t *cfg = json_arg_init(l, 1);

return json_integer_option(l, 1, &cfg->encode_number_precision, 1, 16);
return json_integer_option(l, 1, &cfg->encode_number_precision, 1, 17);
}

/* Configures how to treat empty table when encode lua table */
Expand Down

0 comments on commit 397ced0

Please sign in to comment.