Fix lua-cjson assert mismatch

This commit is contained in:
halx99 2021-09-20 18:19:18 +08:00
parent 23b6c1d549
commit b5e1e78417
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ static void set_number_format(char *fmt, int precision)
{
int d1, d2, i;
assert(1 <= precision && precision <= 14);
assert(1 <= precision && precision <= 17);
/* Create printf format (%.14g) from precision */
d1 = precision / 10;