From c43a9442311a13a3fad16ce834f4b3fa9f24a94c Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Mon, 18 Mar 2024 20:15:48 +0000 Subject: [PATCH] tools: fix error reported by coverity in js2c.cc Coverity reported using the wrong argument types to printf Signed-off-by: Michael Dawson PR-URL: https://github.com/nodejs/node/pull/52142 Reviewed-By: Yagiz Nizipli Reviewed-By: Luigi Pinca --- tools/js2c.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/js2c.cc b/tools/js2c.cc index 0fa9c5954d24a5..e0f3d8844718ab 100644 --- a/tools/js2c.cc +++ b/tools/js2c.cc @@ -613,8 +613,8 @@ bool Simplify(const std::vector& code, } if (simplified_count > 0) { - Debug("Simplified %d characters, ", simplified_count); - Debug("old size %d, new size %d\n", code_size, simplified->size()); + Debug("Simplified %lu characters, ", simplified_count); + Debug("old size %lu, new size %lu\n", code_size, simplified->size()); return true; } return false;