commit | 54ba891d6c064f5d5ce991c7762785d19787ecdf | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Jul 23 12:46:23 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Jul 23 12:46:23 2021 +0200 |
tree | 98abce4be0eb9fa4b2e70f39020f1ea56fbb8239 | |
parent | 73d77abef3f05ca249e906fee9f3b54e8fc7e802 [diff] [blame] |
parser BUGFIX printf format or param problems
diff --git a/src/json.c b/src/json.c index 25340e7..fcb467f 100644 --- a/src/json.c +++ b/src/json.c
@@ -517,7 +517,7 @@ if (errno || (e_val > UINT16_MAX) || (e_val < -UINT16_MAX)) { LOGVAL(ctx, LYVE_SEMANTICS, "Exponent out-of-bounds in a JSON Number value (%.*s).", - total_len, in); + (int)total_len, in); return LY_EVALID; }