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;
     }