summaryrefslogtreecommitdiff
path: root/lua_cjson.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua_cjson.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua_cjson.c b/lua_cjson.c
index 97f2350..5ff3bf7 100644
--- a/lua_cjson.c
+++ b/lua_cjson.c
@@ -299,7 +299,7 @@ static int json_cfg_encode_number_precision(lua_State *l)
299{ 299{
300 json_config_t *cfg = json_arg_init(l, 1); 300 json_config_t *cfg = json_arg_init(l, 1);
301 301
302 return json_integer_option(l, 1, &cfg->encode_number_precision, 1, 14); 302 return json_integer_option(l, 1, &cfg->encode_number_precision, 1, 16);
303} 303}
304 304
305/* Configures how to treat empty table when encode lua table */ 305/* Configures how to treat empty table when encode lua table */